Skip to content

Commit

Permalink
Update pr-labels.yml
Browse files Browse the repository at this point in the history
AllowsPRs both from the same repository as well as forks
  • Loading branch information
ss-o authored Dec 4, 2021
1 parent 2383a11 commit 18fdb49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pr-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: PR Labels

on:
pull_request:
pull_request_target:
types: [opened, labeled, unlabeled, synchronize]

jobs:
Expand All @@ -14,6 +14,7 @@ jobs:
uses: jesusvasquez333/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
pull-request-number: '${{ github.event.pull_request.number }}'
valid-labels: >-
breaking-change, bugfix, documentation, enhancement,
refactor, performance, new-feature, maintenance, ci, dependencies
Expand Down

0 comments on commit 18fdb49

Please sign in to comment.