mirror of
https://github.com/status-im/EIPs.git
synced 2025-02-22 03:38:09 +00:00
don't run auto merge bot on draft PRs
This commit is contained in:
parent
b8c0398181
commit
216e44f50a
3
.github/workflows/auto-merge-bot.yml
vendored
3
.github/workflows/auto-merge-bot.yml
vendored
@ -3,6 +3,7 @@ name: Auto-Merge Bot
|
||||
jobs:
|
||||
enable-auto-merge:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event.pull_request.draft == false
|
||||
steps:
|
||||
- uses: alexwilson/enable-github-automerge-action@main
|
||||
with:
|
||||
@ -10,7 +11,7 @@ jobs:
|
||||
auto_merge_bot:
|
||||
runs-on: ubuntu-latest
|
||||
name: EIP Auto-Merge Bot
|
||||
if: ${{!contains( toJson(github), '1272989785' )}}
|
||||
if: ${{github.event.pull_request.draft == false && !contains( toJson(github), '1272989785' )}}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
Loading…
x
Reference in New Issue
Block a user