Skip to content

ci: scope down GitHub Token permissions #9

ci: scope down GitHub Token permissions

ci: scope down GitHub Token permissions #9

Workflow file for this run

name: Pull Request Workflow
on:
pull_request:
permissions:
contents: read
jobs:
clang-format:
uses: ./.github/workflows/clang-format.yml
secrets: inherit
codebuild:

Check failure on line 13 in .github/workflows/pull.yml

View workflow run for this annotation

GitHub Actions / Pull Request Workflow

Invalid workflow file

The workflow is not valid. .github/workflows/pull.yml (Line: 13, Col: 3): Error calling workflow 'aws/aws-encryption-sdk-c/.github/workflows/codebuild.yml@a6cd89f4deb207826201112efdac0e376ceaa6b5'. The workflow is requesting 'id-token: write', but is only allowed 'id-token: none'.
uses: ./.github/workflows/codebuild.yml
secrets: inherit
osx:
uses: ./.github/workflows/osx.yml
secrets: inherit
proof-ci:
uses: ./.github/workflows/proof_ci.yaml
secrets: inherit
pr-ci-all-required:
if: always()
needs:
- clang-format
- codebuild
- osx
- proof-ci
runs-on: ubuntu-22.04
steps:
- name: Verify all required jobs passed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}