Skip to content

Commit 370b21e

Browse files
authored
Avoid labeling external PRs (#15171)
Doing this to avoid a long-standing bug in GitHub labeler action, which results in failure for the labeler for PRs from forks: actions/labeler#12
1 parent 19b9644 commit 370b21e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/labeler.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/labeler@v2
10+
if: github.repository == 'aspnet/AspNetCore'
1011
with:
1112
repo-token: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)