Create label_actor.yml

This commit is contained in:
Jaroslav Lobačevski
2024-05-16 10:56:01 +02:00
committed by Alvaro Muñoz
parent e28ad1d644
commit 558bea84d4

View 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