Skip to content

Commit 7da46c4

Browse files
[Update]: improve workflows (#358)
* add `paths-ignore` * add `concurrency`
1 parent c7fe07a commit 7da46c4

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.github/workflows/pull-request.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@ name: test on pull request
33
on:
44
pull_request:
55
types: [opened, reopened, review_requested, synchronize]
6+
paths-ignore:
7+
- '*.md'
8+
- 'ChangeLog'
9+
- 'NEWS'
10+
- 'README'
11+
- 'COPYING'
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
616

717
env:
818
CLASSPATH: ":/usr/lib/opensourcecobol4j/libcobj.jar"

.github/workflows/push.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@ name: test on push
22

33
on:
44
push:
5+
paths-ignore:
6+
- '*.md'
7+
- 'ChangeLog'
8+
- 'NEWS'
9+
- 'README'
10+
- 'COPYING'
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
515

616
env:
717
CLASSPATH: ":/usr/lib/opensourcecobol4j/libcobj.jar"

0 commit comments

Comments
 (0)