diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml index b2fc1cc26e3..d5783a3fc1b 100644 --- a/.github/workflows/pr-labeler.yml +++ b/.github/workflows/pr-labeler.yml @@ -11,6 +11,13 @@ on: # - https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ types: [opened, reopened, synchronize] + pull_request: + # Only needed for testing: the `pull_request_target` action will also run + paths: + - .github/workflows/pr-labeler.yml + - .github/pr-labeler.yml + types: [opened, reopened, synchronize] + permissions: contents: read