Skip to content

Commit f62044a

Browse files
committed
only run CI when file in question changes
1 parent 8eca352 commit f62044a

File tree

4 files changed

+51
-27
lines changed

4 files changed

+51
-27
lines changed

.github/workflows/check-core-list.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Validate-YAML-Core-Concept-List
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
paths: ['_data/core.yml']
7+
pull_request:
8+
branches: [ main ]
9+
paths: ['_data/core.yml']
10+
11+
jobs:
12+
validate-yaml-core-concept-list:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Validate YAML intent lists
17+
run: yamllint -c _data/_config_yamllint.yml _data/core.yml
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Validate-YAML-Core-Properties-List
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
paths: ['_data/core-properties.yml']
7+
pull_request:
8+
branches: [ main ]
9+
paths: ['_data/core-properties.yml']
10+
11+
jobs:
12+
validate-yaml-core-properties-concept-list:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Validate YAML intent lists
17+
run: yamllint -c _data/_config_yamllint.yml _data/core-properties.yml

.github/workflows/check-open-list.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Validate-YAML-Open-Concept-List
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
paths: ['_data/open.yml']
7+
pull_request:
8+
branches: [ main ]
9+
paths: ['_data/open.yml']
10+
11+
jobs:
12+
validate-yaml-open-concept-list:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Validate YAML intent lists
17+
run: yamllint -c _data/_config_yamllint.yml _data/open.yml

.github/workflows/list-yaml-checks.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)