fix(ci): forward checks permission to reusable test jobs

- Workflow callers:
  - grant `contents: read` and `checks: write` when invoking the reusable test suite from CI validation, nightly builds, and main release automation
  - align caller permissions with the nested `backend-tests` and `frontend-tests` jobs so GitHub accepts the workflow graph

- Validation:
  - keep workflow YAML parsing clean after the permission wiring change
  - keep `git diff --check` clean for the touched workflow files
This commit is contained in:
James Cox
2026-03-19 18:50:00 -05:00
parent 1bc45da013
commit e3b3e7c4d7
3 changed files with 9 additions and 0 deletions
+3
View File
@@ -24,6 +24,9 @@ jobs:
if: ${{ (github.event_name != 'push' || !contains(github.event.head_commit.message, '[skip ci]')) && (needs.migration-check.result == 'success' || needs.migration-check.result == 'skipped') }}
needs: [migration-check]
uses: ./.github/workflows/test-suite.yml
permissions:
contents: read
checks: write
with:
checkout_ref: ${{ github.sha }}