File tree Expand file tree Collapse file tree 3 files changed +7
-35
lines changed Expand file tree Collapse file tree 3 files changed +7
-35
lines changed Original file line number Diff line number Diff line change 5
5
workflow_dispatch :
6
6
7
7
jobs :
8
- build :
9
- runs-on : ubuntu-latest
10
- steps :
11
- - uses : actions/checkout@v4
12
- - uses : actions/setup-python@v5
13
- with :
14
- python-version : 3.x
15
- - name : Install python action for doc extraction
16
- run : pip install -r docs/requirements.txt
17
- - name : check mkdocs build
18
- if : github.ref != 'refs/heads/main'
19
- run : mkdocs build
20
- - name : Build docs and deploy to gh-pages
21
- if : github.ref == 'refs/heads/main'
22
- run : |
23
- git config user.name 'github-actions'
24
- git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
25
- mkdocs gh-deploy --force
8
+ build-docs :
9
+ uses : cpp-linter/.github/.github/workflows/mkdocs.yml@main
Original file line number Diff line number Diff line change 7
7
workflow_dispatch :
8
8
9
9
jobs :
10
- update_release_draft :
11
- runs-on : ubuntu-latest
12
- steps :
13
- # Draft your next Release notes as Pull Requests are merged into the default branch
14
- - uses : release-drafter/release-drafter@v6
15
- env :
16
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
10
+ draft-release :
11
+ uses : cpp-linter/.github/.github/workflows/release-drafter.yml@main
Original file line number Diff line number Diff line change 1
- name : Pre -commit
1
+ name : Run pre -commit
2
2
3
3
on :
4
4
push :
5
5
pull_request :
6
6
types : opened
7
7
8
8
jobs :
9
- check-source-files :
10
- runs-on : ubuntu-latest
11
- steps :
12
- - uses : actions/checkout@v4
13
- - uses : actions/setup-python@v5
14
- with :
15
- python-version : ' 3.x'
16
- - run : python3 -m pip install pre-commit
17
- - run : pre-commit run --all-files
9
+ pre-commit :
10
+ uses : cpp-linter/.github/.github/workflows/pre-commit.yml@main
You can’t perform that action at this time.
0 commit comments