-
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 866 Bytes
/
validation.yml
File metadata and controls
32 lines (29 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: validation
# Trigger workflow on push events with changes in SRC or D files
on:
push:
paths:
- "Ninja/**/*.src"
- "Ninja/**/*.SRC"
- "Ninja/**/*.d"
- "Ninja/**/*.D"
- "_work/Data/**/*"
workflow_dispatch:
# These permissions are necessary for creating the check runs
permissions:
checks: write
contents: read
# The checkout action needs to be run first
jobs:
patch-validator:
name: Run patch validator
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Check for validity
uses: szapp/patch-validator@v1
with:
# Adjust these if changing the patch name or its root directory in the repository
# For more information on the configuration, visit https://github.com/szapp/patch-validator/#configuration
patchName:
rootPath: