Skip to content

Commit db6181a

Browse files
Add a custom gh action to check for question files ordering
1 parent 2dc6de1 commit db6181a

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.github/actions/check-missing-questions/action.yml

Whitespace-only changes.

.github/actions/check-missing-questions/index.js

Whitespace-only changes.

.github/workflows/pr-checks.yml

+11
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,14 @@ jobs:
2929
files: 'content/**/*.md'
3030
config: 'cspell.json'
3131
verbose: true
32+
check-questions:
33+
runs-on: ubuntu-latest
34+
strategy:
35+
matrix:
36+
question-type: ['actions', 'admin', 'advanced_security', 'copilot', 'foundations']
37+
steps:
38+
- uses: actions/checkout@v4
39+
- name: Check for missing question files
40+
uses: ./.github/actions/check-missing-questions
41+
with:
42+
questions-path: 'content/questions/${{ matrix.question-type }}'

0 commit comments

Comments
 (0)