Skip to content

Commit c64e28a

Browse files
authored
Merge pull request #9046 from kewisch/pulls-merged
PR merged workflow improvements
2 parents c0dc3c8 + 7520db6 commit c64e28a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/pulls-merged.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ permissions:
1414

1515
jobs:
1616
pull-request-merged:
17+
if: github.event.pull_request.merged
1718
runs-on: ubuntu-latest
1819
environment: botmobile
1920
steps:
@@ -41,10 +42,10 @@ jobs:
4142
4243
- name: Thank you
4344
if: |
44-
github.event.pull_request.merged == true &&
4545
github.event.pull_request.author_association != 'OWNER' &&
4646
github.event.pull_request.author_association != 'MEMBER' &&
47-
github.event.pull_request.author_association != 'COLLABORATOR'
47+
github.event.pull_request.author_association != 'COLLABORATOR' &&
48+
github.event.pull_request.author_association != 'CONTRIBUTOR'
4849
env:
4950
PR_NUMBER: ${{ github.event.pull_request.number }}
5051
GH_TOKEN: ${{ steps.app-token.outputs.token || github.token }}

0 commit comments

Comments
 (0)