Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/community-admin-pr-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,12 @@ concurrency:

jobs:
merge-on-command:
# Only comments on pull requests (issue_comment also fires on plain issues).
if: github.event.issue.pull_request != null
# Only human comments on pull requests. issue_comment also fires on plain
# issues (filtered out), and on the App's own confirmation comment (which
# mentions "LGTM / merge") -- skipping Bot authors stops that self-trigger.
if: >-
github.event.issue.pull_request != null &&
github.event.comment.user.type != 'Bot'
runs-on: ubuntu-latest
steps:
# Cheap first gate: does the comment carry the "LGTM ... merge" command?
Expand Down
Loading