Skip to content

Commit ca6da64

Browse files
q1uf3ngclaude
andcommitted
fix: add approval gate to call-check-tflite-files job
The call-check-tflite-files job in pr_test.yml is missing the `needs: [gatekeeper, approval-gate]` dependency that all other jobs have. This allows fork PRs to execute arbitrary code via the checked-out shell script without waiting for approval, bypassing the security gate. BUG=n/a Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9f5ac25 commit ca6da64

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/pr_test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ jobs:
6464
run: echo "CI Authorized."
6565

6666
call-check-tflite-files:
67+
needs: [gatekeeper, approval-gate]
68+
if: needs.gatekeeper.outputs.scope != 'none'
6769
uses: ./.github/workflows/check_tflite_files.yml
6870
with:
6971
trigger-sha: ${{ github.event.pull_request.head.sha }}

0 commit comments

Comments
 (0)