mirror of
https://github.com/status-im/EIPs.git
synced 2025-02-22 11:48:19 +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:
|
jobs:
|
||||||
enable-auto-merge:
|
enable-auto-merge:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event.pull_request.draft == false
|
||||||
steps:
|
steps:
|
||||||
- uses: alexwilson/enable-github-automerge-action@main
|
- uses: alexwilson/enable-github-automerge-action@main
|
||||||
with:
|
with:
|
||||||
@ -10,7 +11,7 @@ jobs:
|
|||||||
auto_merge_bot:
|
auto_merge_bot:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: EIP Auto-Merge Bot
|
name: EIP Auto-Merge Bot
|
||||||
if: ${{!contains( toJson(github), '1272989785' )}}
|
if: ${{github.event.pull_request.draft == false && !contains( toJson(github), '1272989785' )}}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user