File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 1
- # github actions: https://help .github.com/actions/language- and-framework-guides/using-nodejs-with-github-actions
1
+ # github actions: https://docs .github.com/en/ actions/use-cases- and-examples/building-and-testing/building-and-testing-nodejs
2
2
# setup-node: https://github.com/actions/setup-node
3
3
4
4
name : CI
8
8
branches : [master]
9
9
pull_request :
10
10
branches : [master, feature/*, mynah-dev]
11
+ # Default = opened + synchronize + reopened.
12
+ # We also want "edited" so that lint-commits runs when PR title is updated.
13
+ # https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request
14
+ types :
15
+ - edited
16
+ - opened
17
+ - reopened
18
+ - synchronize
19
+
20
+ # Cancel old jobs when a pull request is updated.
21
+ concurrency :
22
+ group : ${{ github.head_ref || github.run_id }}
23
+ cancel-in-progress : true
11
24
12
25
jobs :
13
26
lint-commits :
You can’t perform that action at this time.
0 commit comments