Skip to content

Commit 2ebea69

Browse files
committed
Issue #174: apply paths-ignore to CI required-check workflows
1 parent d8a4e50 commit 2ebea69

2 files changed

Lines changed: 18 additions & 3 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
1-
name: CI
1+
name: Java CI with Maven
22

33
on:
44
push:
5-
branches: ["**"]
5+
branches: [ "main" ]
6+
paths-ignore:
7+
- '**/*.md'
8+
- 'docs/**'
69
pull_request:
7-
branches: ["**"]
10+
branches: [ "main" ]
11+
paths-ignore:
12+
- '**/*.md'
13+
- 'docs/**'
14+
types: [opened, synchronize, reopened]
815

16+
concurrency:
917
concurrency:
1018
group: ${{ github.workflow }}-${{ github.ref }}
1119
cancel-in-progress: true

‎.github/workflows/maven.yml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,17 @@ name: Java CI with Maven
33
on:
44
push:
55
branches: [ "main" ]
6+
paths-ignore:
7+
- '**/*.md'
8+
- 'docs/**'
69
pull_request:
710
branches: [ "main" ]
11+
paths-ignore:
12+
- '**/*.md'
13+
- 'docs/**'
814
types: [opened, synchronize, reopened]
915

16+
concurrency:
1017
concurrency:
1118
group: ${{ github.workflow }}-${{ github.ref }}
1219
cancel-in-progress: true

0 commit comments

Comments
 (0)