Skip to content

Commit 7ea9cca

Browse files
Kircheneerchadell
andauthored
Limit redundant CI concurrency (#149)
* Limit redundant CI concurrency * Update .github/workflows/ci.yml Co-authored-by: Christian Adell <[email protected]> Co-authored-by: Christian Adell <[email protected]>
1 parent 434a9e9 commit 7ea9cca

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
---
22
name: "CI"
3-
on: # yamllint disable-line rule:truthy
4-
- "push"
5-
- "pull_request"
3+
concurrency: # Cancel any existing runs of this workflow for this same PR
4+
group: "${{ github.workflow }}-${{ github.ref }}"
5+
cancel-in-progress: true
6+
on: # yamllint disable
7+
push:
8+
branches:
9+
- "main"
10+
- "develop"
11+
tags:
12+
- "v*"
13+
pull_request: ~
614
jobs:
715
validate_renovate:
816
runs-on: "ubuntu-20.04"

0 commit comments

Comments
 (0)