Skip to content

Commit

Permalink
ci: maybe fix issue label automation for mergify (#2265)
Browse files Browse the repository at this point in the history
Attempt to fix #2262

The steps to actually verify this are a bit annoying but will try to
backport this PR to v1.x, merge, update
#2260 with latest from
v1.x, re-trigger the issue label automation workflow.

(cherry picked from commit afa2559)
  • Loading branch information
rootulp authored and mergify[bot] committed Aug 14, 2023
1 parent d305b80 commit c3a1182
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/issue-label-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
pull-requests: write
steps:
- name: Check if issue or PR was created by external contributor
if: ${{ github.actor != 'dependabot[bot]' }}
if: ${{ github.actor != 'dependabot[bot]' }} && ${{ github.actor == 'mergify[bot]' }}
uses: tspascoal/get-user-teams-membership@v2
id: teamCheck
with:
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:

# If a PR was created by dependabot add the `bot` label.
- name: Maybe label PR with `bot`
if: ${{ github.actor == 'dependabot[bot]' }}
if: ${{ github.actor == 'dependabot[bot]' }} || ${{ github.actor == 'mergify[bot]' }}
uses: andymckay/labeler@master
with:
add-labels: "bot"
Expand Down

0 comments on commit c3a1182

Please sign in to comment.