25 lines
520 B
YAML
25 lines
520 B
YAML
name: maintenance
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
maintenance:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/setup-python@v2
|
|
with:
|
|
python-version: '3.9'
|
|
|
|
- name: Run clang-format
|
|
run: find -type f \( -name *.h -o -name *.cpp \) | xargs clang-format -style=file -i
|
|
|
|
- name: Glob files
|
|
run: python ${{ github.workspace }}/res/scripts/generate_headers.py
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
commit_message: maintenance
|