Skip to content

Commit 81f704f

Browse files
authored
Update auto-add-labels.yml Skip Labeler from Dependabot forks (#775)
1 parent 996e6b8 commit 81f704f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/auto-add-labels.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
contents: read
2323
pull-requests: write
2424
runs-on: ubuntu-latest
25+
# Only run for PRs from the main repository (skip forks like Dependabot)
26+
if: github.event.pull_request.head.repo.full_name == github.repository
2527
steps:
2628
- uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
2729
with:

0 commit comments

Comments
 (0)