Skip to content

Commit

Permalink
Merge bitcoin#28282: ci: Ensure that only a single workflow processes…
Browse files Browse the repository at this point in the history
… `github.ref` at a time

0080b56 ci: Ensure that only a single workflow processes `github.ref` at a time (Hennadii Stepanov)

Pull request description:

  This PR ensures that only a single workflow processes any push or pull request at a time.

  A new push will be queued (including the master branch).

  For a new pull request update, the previous in-progress one will be cancelled.

  Address bitcoin#28187 (comment).

ACKs for top commit:
  dergoegge:
    utACK 0080b56

Tree-SHA512: d03f1678c93c817c1c3be5e75171bfe85d494f99a9aab7113c9438e0c820e950edd5c10199cccd54868e6dc50217bb3aa5601b23bc88ad4927c001031e917513
  • Loading branch information
fanquake committed Aug 17, 2023
2 parents ecb2056 + 0080b56 commit de197c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
tags-ignore:
- '**'

concurrency:
group: ${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

env:
DANGER_RUN_CI_ON_HOST: 1
TEST_RUNNER_TIMEOUT_FACTOR: 40
Expand Down

0 comments on commit de197c1

Please sign in to comment.