Skip to content

Commit 54f5380

Browse files
committed
Update PR Label checker job to Ignore dependabot PRs
Signed-off-by: Simon Davies <[email protected]>
1 parent 19d54c9 commit 54f5380

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/PRLabelChecker.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- name: Check for specific labels
1616
run: |
17+
# ignore dependabot PRs
18+
if [[ ${{ github.actor }} == "dependabot[bot]" ]]; then
19+
echo "Ignoring dependabot PRs."
20+
exit 0
21+
fi
1722
# Fetch repository labels from the GitHub API
1823
REPO_LABELS=$(gh api repos/${{ github.repository }}/labels --jq '.[].name')
1924

0 commit comments

Comments
 (0)