This repository was archived by the owner on Jul 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7- pull_request :
7+ pull_request_target :
8+ branches :
9+ - 06-18-_gha_allow_external_contributors_build_lint # canary for the PR that introduces pull_request_target
810
911permissions :
1012 contents : read
1113 id-token : write # required for GCP Workload Identity federation which we use to login into Google Artifact Registry
1214
1315jobs :
16+ permission-check :
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Check repository permission for user which triggered workflow
20+ uses : sushichop/action-repository-permission@13d208f5ae7a6a3fc0e5a7c2502c214983f0241c
21+ with :
22+ required-permission : write
23+ comment-not-permitted : Sorry, you don't have permission to trigger this workflow.
24+
1425 lint :
1526 runs-on : ubuntu-latest
27+ needs : permission-check # This is required to ensure we have permission to build against the GCP Artifact Registry
1628
1729 steps :
1830 - uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments