Skip to content

Commit 4184083

Browse files
authored
chore: gate label-prs to pull requests (#2892)
Signed-off-by: Patrick Knight <pknight@redhat.com>
1 parent f16fb79 commit 4184083

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/add-workspace-label.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
repo-token: ${{ secrets.GITHUB_TOKEN }}
3232

3333
label-prs:
34+
if: github.event_name == 'pull_request_target'
3435
runs-on: ubuntu-latest
3536
permissions:
3637
pull-requests: write

0 commit comments

Comments
 (0)