Skip to content

Commit

Permalink
CI: Add concurrency (ethereum#5819)
Browse files Browse the repository at this point in the history
* Add concurrency to ci.yml

* Update auto-label-bot.yml

* Update auto-review-bot.yml

* Update auto-review-trigger.yml
  • Loading branch information
Pandapip1 authored and nachomazzara committed Jan 13, 2023
1 parent 030d628 commit d17beaa
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/auto-label-bot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
on:
pull_request_target:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

name: Auto Label Bot
jobs:
jekyll-label-action:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/auto-review-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
types:
- completed

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

name: Auto Review Bot
jobs:
auto-review-bot:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/auto-review-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ on:
types:
- created

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

name: Auto Review Bot Trigger
jobs:
trigger:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- ready_for_review
- edited

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
save-pr:
name: Save PR Number
Expand Down

0 comments on commit d17beaa

Please sign in to comment.