Skip to content

Commit 23c493d

Browse files
chore(ci): only trigger time consuming steps when relevant (#1714)
1 parent 6be2611 commit 23c493d

5 files changed

Lines changed: 25 additions & 4 deletions

File tree

.github/workflows/docker.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,14 @@ on:
77
pull_request:
88
branches:
99
- main
10-
paths-ignore:
11-
- "docs/**"
10+
paths:
11+
- "*.c"
12+
- "*.h"
13+
- "*.stub.php"
14+
- "*Dockerfile"
15+
- "docker-bake.hcl"
16+
- "*.sh"
17+
- ".github/workflows/docker.yaml"
1218
push:
1319
branches:
1420
- main

.github/workflows/lint.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
---
22
name: Lint Code Base
3+
concurrency:
4+
cancel-in-progress: true
5+
group: ${{ github.workflow }}-${{ github.ref }}
36
on:
47
pull_request:
58
branches:

.github/workflows/sanitizers.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
---
22
name: Sanitizers
3+
concurrency:
4+
cancel-in-progress: true
5+
group: ${{ github.workflow }}-${{ github.ref }}
36
on:
47
pull_request:
58
branches:

.github/workflows/static.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,14 @@ on:
77
pull_request:
88
branches:
99
- main
10-
paths-ignore:
11-
- "docs/**"
10+
paths:
11+
- "*.c"
12+
- "*.h"
13+
- "*.stub.php"
14+
- "*Dockerfile"
15+
- "docker-bake.hcl"
16+
- "*.sh"
17+
- ".github/workflows/static.yaml"
1218
push:
1319
branches:
1420
- main

.github/workflows/tests.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
---
22
name: Tests
3+
concurrency:
4+
cancel-in-progress: true
5+
group: ${{ github.workflow }}-${{ github.ref }}
36
on:
47
pull_request:
58
branches:

0 commit comments

Comments
 (0)