Skip to content

Scheduling infrastructure for absolutely everyone.

Update labeler.yml

zomarsb94f78f6e194
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index 2f10275dfe5..ff514935a76 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -10,5 +10,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
+ # Checking the actor will prevent your Action run failing on non-Dependabot
+ # PRs but also ensures that it only does work for Dependabot PRs.
+ if: ${{ github.actor == 'github-actions[bot]' }}
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"