Skip to content
Closed
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
5 changes: 3 additions & 2 deletions .github/workflows/set-automerge.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Enable auto-merge (squash) on every newly opened PR.
# Enable auto-merge (squash) for bot-authored PRs that are labeled for the
# autonomous merge flow.
#
# Self-contained inlined version. The same file is replicated across all
# active RiddimSoftware repos so each repo enables auto-merge independently
Expand All @@ -24,7 +25,7 @@ jobs:
name: Set auto-merge
runs-on: ubuntu-latest
timeout-minutes: 5
if: ${{ !github.event.pull_request.draft }}
if: ${{ !github.event.pull_request.draft && github.event.pull_request.user.type == 'Bot' && contains(github.event.pull_request.labels.*.name, 'autonomous') }}
steps:
- name: Generate developer-bot token
id: dev-token
Expand Down
Loading