Skip to content

Commit 1dbd6d7

Browse files
authored
chore: do not run CI on release (#100)
* chore: do not run CI on release * do not run on release branches
1 parent 59a7d41 commit 1dbd6d7

File tree

3 files changed

+32
-3
lines changed

3 files changed

+32
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name: CI
22

33
on:
4-
pull_request:
54
push:
6-
branches: [master]
5+
branches:
6+
- '**'
7+
- '!release-**'
78

89
concurrency:
910
group: ${{ github.workflow }}-${{ github.head_ref }}

.github/workflows/reviewdog.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: reviewdog
22
on:
3-
pull_request:
3+
push:
4+
branches:
5+
- '**'
6+
- '!release-**'
47

58
concurrency:
69
group: ${{ github.workflow }}-${{ github.head_ref }}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# This workflow skips all heavy stuff for release branches
2+
name: Skip Tests
3+
4+
on:
5+
push:
6+
branches:
7+
- 'release-**'
8+
tags-ignore:
9+
- '**'
10+
11+
concurrency:
12+
group: ${{ github.ref }}-${{ github.workflow }}
13+
cancel-in-progress: true
14+
15+
jobs:
16+
reviewdog:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- run: 'echo "Not required"'
20+
21+
basic:
22+
name: Run tests
23+
runs-on: ubuntu-latest
24+
steps:
25+
- run: 'echo "Not required"'

0 commit comments

Comments
 (0)