diff options
Diffstat (limited to '.github/workflows/sort.yml')
-rw-r--r-- | .github/workflows/sort.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/sort.yml b/.github/workflows/sort.yml new file mode 100644 index 000000000..55ac065b6 --- /dev/null +++ b/.github/workflows/sort.yml | |||
@@ -0,0 +1,21 @@ | |||
1 | name: sort.py | ||
2 | |||
3 | on: | ||
4 | push: | ||
5 | branches: [ master ] | ||
6 | paths: | ||
7 | - 'etc/**' | ||
8 | pull_request: | ||
9 | branches: [ master ] | ||
10 | paths: | ||
11 | - 'etc/**' | ||
12 | |||
13 | jobs: | ||
14 | profile-sort: | ||
15 | if: ${{ ! contains(github.event.commits[0].message, '[skip ci]') }} | ||
16 | runs-on: ubuntu-20.04 | ||
17 | steps: | ||
18 | - uses: actions/checkout@v2 | ||
19 | - name: check profiles | ||
20 | run: ./contrib/sort.py etc/*/{*.inc,*.profile} | ||
21 | |||