File tree Expand file tree Collapse file tree 2 files changed +23
-17
lines changed Expand file tree Collapse file tree 2 files changed +23
-17
lines changed Original file line number Diff line number Diff line change 6
6
- opened
7
7
- edited
8
8
- synchronize
9
- push :
10
- branches :
11
- - main
12
- paths :
13
- - ' .github/workflows/commitlint.yaml'
14
- - ' .github/workflows/pr-title-commitlint.yaml'
15
9
16
10
concurrency :
17
11
group : ${{ github.workflow }}-${{ github.ref }}
18
12
cancel-in-progress : true
19
13
20
14
jobs :
21
15
pr-title-commitlint :
16
+ if : ${{ success() && github.event_name == 'pull_request' }}
22
17
uses : ./.github/workflows/pr-title-commitlint.yaml
23
-
24
- release-commitlint :
25
- needs : pr-title-commitlint
26
- if : ${{ success() && github.event_name == 'push' }}
27
- uses : ./.github/workflows/on-release-repo.yaml
28
- with :
29
- job-name : release-commitlint
30
- release-tag-format : ' v${version}-pr-title-commitlint'
31
- slack-channel : ${{ vars.SLACK_CHANNEL }}
32
- secrets :
33
- slack-token : ${{ secrets.SLACK_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : Release Commit Lint PR Title
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ paths :
8
+ - ' .github/workflows/commitlint.yaml'
9
+
10
+ concurrency :
11
+ group : ${{ github.workflow }}-${{ github.ref }}
12
+ cancel-in-progress : false
13
+
14
+ jobs :
15
+ release-pr-title-commitlint :
16
+ uses : ./.github/workflows/on-release-repo.yaml
17
+ with :
18
+ job-name : release-pr-title-commitlint
19
+ release-tag-format : ' v${version}-pr-title-commitlint'
20
+ slack-channel : ${{ vars.SLACK_CHANNEL }}
21
+ secrets :
22
+ slack-token : ${{ secrets.SLACK_TOKEN }}
You can’t perform that action at this time.
0 commit comments