aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/sort.yml
blob: 55ac065b6d01d340eb0d24200b2a96c3f14f7741 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: sort.py

on:    
  push: 
    branches: [ master ]
    paths:
      - 'etc/**'
  pull_request:
    branches: [ master ]
    paths:
      - 'etc/**'

jobs:
  profile-sort:
    if: ${{ ! contains(github.event.commits[0].message, '[skip ci]') }}
    runs-on: ubuntu-20.04
    steps:
    - uses: actions/checkout@v2
    - name: check profiles
      run: ./contrib/sort.py etc/*/{*.inc,*.profile}