Skip to content

Commit a76e73b

Browse files
authored
Cancel in progress runs (#65)
1 parent 1611214 commit a76e73b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
pull_request:
88
branches: [ main ]
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
12+
cancel-in-progress: true
13+
1014
jobs:
1115
build:
1216
runs-on: ubuntu-latest
@@ -51,7 +55,7 @@ jobs:
5155
- name: rock5c
5256
script: ./install_opi5.sh
5357
base_image: https://github.com/Joshua-Riek/ubuntu-rockchip/releases/download/v2.4.0/ubuntu-24.04-preinstalled-server-arm64-rock-5c.img.xz
54-
58+
5559
name: "Build for ${{ matrix.name }}"
5660

5761
steps:

0 commit comments

Comments
 (0)