mirror of
https://github.com/github/codeql.git
synced 2025-12-28 22:56:32 +01:00
Create label_actor.yml
This commit is contained in:
committed by
Alvaro Muñoz
parent
e28ad1d644
commit
558bea84d4
17
ql/test/query-tests/Security/CWE-367/.github/workflows/label_actor.yml
vendored
Normal file
17
ql/test/query-tests/Security/CWE-367/.github/workflows/label_actor.yml
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# Making Label gates the only ones bypassable with TOCTOU races since actor or association ones should not be bypassable
|
||||
name: Label Trigger Test
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [labeled]
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
integration-tests:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository_owner == 'npm' && github.actor == 'dependabot[bot]'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.ref }}
|
||||
repository: ${{ github.event.pull_request.head.repo.full_name }}
|
||||
- run: bash label_example/tests.sh
|
||||
Reference in New Issue
Block a user