diff --git a/.github/workflows/ci-validate.yml b/.github/workflows/ci-validate.yml index 1aea39264..10a64ae31 100644 --- a/.github/workflows/ci-validate.yml +++ b/.github/workflows/ci-validate.yml @@ -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 }} diff --git a/.github/workflows/publish-nightly.yml b/.github/workflows/publish-nightly.yml index 65e3feccf..28bee1e41 100644 --- a/.github/workflows/publish-nightly.yml +++ b/.github/workflows/publish-nightly.yml @@ -29,6 +29,9 @@ jobs: name: Test Suite needs: [resolve_ref] uses: ./.github/workflows/test-suite.yml + permissions: + contents: read + checks: write with: checkout_ref: ${{ needs.resolve_ref.outputs.commit_sha }} diff --git a/.github/workflows/release-main.yml b/.github/workflows/release-main.yml index 725896f95..97f079c55 100644 --- a/.github/workflows/release-main.yml +++ b/.github/workflows/release-main.yml @@ -24,6 +24,9 @@ jobs: if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }} needs: [migration-check] uses: ./.github/workflows/test-suite.yml + permissions: + contents: read + checks: write with: checkout_ref: ${{ github.sha }}