Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6939d4f

Browse filesBrowse files
authored
Merge pull request #322 from jasoncouture/in_progress_build_cancellation
Cancel in progress PR builds when a new commit is pushed for that PR
2 parents e15954b + b15e713 commit 6939d4f
Copy full SHA for 6939d4f

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎.github/workflows/ci.yml

Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
schedule:
77
- cron: "40 5 * * *" # every day at 5:40
88

9+
# This causes PR pushes to cancel previous builds, but does not impact cron jobs due to use of .ref, which will have the commit.
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12+
cancel-in-progress: true
13+
914
jobs:
1015
check:
1116
name: Check

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.