-
Notifications
You must be signed in to change notification settings - Fork 37
42 lines (36 loc) · 997 Bytes
/
maintenance.yml
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
33
34
35
36
37
38
39
40
41
42
name: Maintenance
on:
push:
branches: main
paths:
- "src/**"
- "include/**"
- ".github/workflows/**"
workflow_dispatch:
concurrency:
group: maintenance
cancel-in-progress: true
jobs:
maintenance:
runs-on: ubuntu-latest
if: github.repository_owner == 'Starfield-Reverse-Engineering'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Update Starfield.h
shell: pwsh
run: "& ${{ github.workspace }}/.github/make-directives.ps1 ${{ github.workspace }}"
- name: Run clang-format
uses: DoozyX/[email protected]
with:
source: "."
exclude: "./docs"
extensions: "c,cc,cpp,cppm,cxx,h,hpp,hxx,inl,inc,ixx,mxx"
clangFormatVersion: 17
inplace: True
- name: Add & Commit
id: registry
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: "ci: maintenance"