diff --git a/.github/workflows/camara-validation.yml b/.github/workflows/camara-validation.yml new file mode 100644 index 0000000..12c47bd --- /dev/null +++ b/.github/workflows/camara-validation.yml @@ -0,0 +1,35 @@ +# CAMARA Validation Framework — Caller Workflow +# +# Copy this file to .github/workflows/camara-validation.yml in your +# API repository. No modification needed — all configuration is +# centralized in the tooling repository. +# +# This replaces the v0 pr_validation_caller.yml for repositories that +# have opted into the v1 validation framework. + +name: CAMARA Validation + +on: + pull_request: + branches: + - main + - release-snapshot/** + - maintenance/** + workflow_dispatch: + +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + cancel-in-progress: true + +permissions: + checks: write + pull-requests: write + issues: write + contents: read + statuses: write + id-token: write + +jobs: + validation: + uses: camaraproject/tooling/.github/workflows/validation.yml@v1-rc + secrets: inherit diff --git a/.github/workflows/release-automation.yml b/.github/workflows/release-automation.yml index f565de1..88cf724 100644 --- a/.github/workflows/release-automation.yml +++ b/.github/workflows/release-automation.yml @@ -12,7 +12,7 @@ # - Push to main: when release-plan.yaml changes (auto sync-issue) # - Manual: workflow_dispatch triggers sync-issue (reads from release-plan.yaml) -name: Release Automation +name: CAMARA Release Automation on: # Slash commands via issue comments @@ -80,7 +80,5 @@ jobs: github.event.pull_request.merged == true && startsWith(github.event.pull_request.base.ref, 'release-snapshot/')) - uses: camaraproject/tooling/.github/workflows/release-automation-reusable.yml@ra-v1-rc - # with: - # tooling_ref_override: "0123456789abcdef0123456789abcdef01234567" # Optional break-glass SHA override (requires workflow file change) + uses: camaraproject/tooling/.github/workflows/release-automation-reusable.yml@v1-rc secrets: inherit