Skip to content

Commit 815b213

Browse files
authored
Attempt to exclude dependabot from PR labeling (#3552)
1 parent ac2785f commit 815b213

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/labeler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
username: ${{ github.actor }}
2626
token: ${{ secrets.APM_TECH_USER_TOKEN }}
2727
- name: Add community and triage lables
28-
if: contains(steps.is_elastic_member.outputs.result, 'false')
28+
if: contains(steps.is_elastic_member.outputs.result, 'false') && github.actor != 'dependabot[bot]'
2929
uses: actions/github-script@v7
3030
with:
3131
script: |
@@ -36,7 +36,7 @@ jobs:
3636
labels: ["community", "triage"]
3737
})
3838
- name: Add comment for community PR
39-
if: contains(steps.is_elastic_member.outputs.result, 'false')
39+
if: contains(steps.is_elastic_member.outputs.result, 'false') && github.actor != 'dependabot[bot]'
4040
uses: wow-actions/auto-comment@v1
4141
with:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)