Skip to content

Commit 2ba38c9

Browse files
committed
Skip CI test workflow with branche names that start with changelog/
1 parent 2e1d86d commit 2ba38c9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818

1919
tests:
2020
name: run
21+
if: "!startsWith(github.head_ref, 'changelog/')"
2122
runs-on: ubuntu-latest
2223
timeout-minutes: 60
2324
strategy:
@@ -59,6 +60,7 @@ jobs:
5960

6061
tests-combine-summaries:
6162
name: Combine Test Reports
63+
if: "!startsWith(github.head_ref, 'changelog/')"
6264
needs: [ tests ]
6365
runs-on: ubuntu-latest
6466
steps:
@@ -83,9 +85,9 @@ jobs:
8385

8486
tests-summarize:
8587
name: Summarize Tests
88+
if: "!startsWith(github.head_ref, 'changelog/') && always()"
8689
needs: [ tests ]
8790
runs-on: ubuntu-latest
88-
if: ${{ always() }}
8991
steps:
9092
- name: Check tests Status
9193
run: |

0 commit comments

Comments
 (0)