Skip to content

chore: update GitHub Actions to use reusable workflows #101

chore: update GitHub Actions to use reusable workflows

chore: update GitHub Actions to use reusable workflows #101

Workflow file for this run

# Example: Copy this to your repo as .github/workflows/maven.yml
# Configuration is read from .github/project.yml - no inputs needed!
name: Maven Build
on:
push:
branches: [main, "feature/*", "fix/*", "dependabot/**"]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
# Run on push events, OR on pull_request only if from a fork
# This prevents duplicate runs: push handles internal branches, PR handles forks
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
uses: cuioss/cuioss-organization/.github/workflows/reusable-maven-build.yml@288f393bf5407c87ffd95c128cdf694761941308 # v0.2.0

Check failure on line 17 in .github/workflows/maven.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/maven.yml

Invalid workflow file

error parsing called workflow ".github/workflows/maven.yml" -> "cuioss/cuioss-organization/.github/workflows/reusable-maven-build.yml@288f393bf5407c87ffd95c128cdf694761941308" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
secrets: inherit