Skip to content

Commit c47fdd1

Browse files
authored
Create label_actor.yml
1 parent 888b9fe commit c47fdd1

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Making Label gates the only ones bypassable with TOCTOU races since actor or association ones should not be bypassable
2+
name: Label Trigger Test
3+
on:
4+
pull_request_target:
5+
types: [labeled]
6+
branches: [main]
7+
8+
jobs:
9+
integration-tests:
10+
runs-on: ubuntu-latest
11+
if: github.repository_owner == 'npm' && github.actor == 'dependabot[bot]'
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
ref: ${{ github.event.pull_request.head.ref }}
16+
repository: ${{ github.event.pull_request.head.repo.full_name }}
17+
- run: bash label_example/tests.sh

0 commit comments

Comments
 (0)