Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitfe45e1c

Browse files
authored
ci: add concurrency groups to release pipeline (#68)
Add concurrency groups to GitHub Actions workflowsAdds concurrency groups to CI and release workflows to automatically cancelin-progress runs when new changes are pushed. This prevents unnecessaryresource usage and speeds up feedback loops for developers.Change-Id: I781ce2750eb30729e84430ee2e3855f3259d2eb9Signed-off-by: Thomas Kosiewski <tk@coder.com>
1 parent7d5b6c7 commitfe45e1c

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

‎.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ on:
1313
permissions:
1414
contents:read
1515

16+
# Cancel in-progress runs for pull requests when developers push
17+
# additional changes
18+
concurrency:
19+
group:${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress:${{ github.ref != 'refs/heads/main' }}
21+
1622
jobs:
1723
test:
1824
name:test

‎.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ on:
99

1010
permissions:{}
1111

12+
# Cancel in-progress runs for when multiple PRs get merged
13+
# in quickl succession. Ignore this for tag releases though.
14+
concurrency:
15+
group:${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress:${{ !contains(github.ref, 'tags/')}}
17+
1218
jobs:
1319
build:
1420
name:Build Coder Desktop

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp