We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8ebc1b commit 5b46eb5Copy full SHA for 5b46eb5
.github/workflows/pr-sort.yml
@@ -23,7 +23,14 @@ jobs:
23
process-changes:
24
runs-on: ubuntu-latest
25
# Only check for merged PR when triggered by a pull_request event
26
- if: github.event_name != 'pull_request' || github.event.pull_request.merged == true
+ # And skip if PR was merged by a bot
27
+ if: >-
28
+ (github.event_name != 'pull_request' ||
29
+ (github.event.pull_request.merged == true &&
30
+ !contains(github.event.pull_request.user.login, '[bot]') &&
31
+ !contains(github.event.pull_request.user.login, '-bot') &&
32
+ github.event.pull_request.user.login != 'dependabot' &&
33
+ github.event.pull_request.user.login != 'github-actions'))
34
steps:
35
- name: Checkout repository
36
uses: actions/checkout@v4
0 commit comments