Doxygen mr (#9)

Contribute QT help file with a MR
This commit is contained in:
Int-Circuit
2025-12-28 17:11:24 +01:00
committed by Int-Circuit
parent 40744ba41a
commit 8a2e0a585c
3 changed files with 23 additions and 11 deletions

View File

@@ -3,9 +3,7 @@ on:
push:
branches:
- master
pull_request:
branches:
- main
jobs:
@@ -27,12 +25,25 @@ jobs:
git lfs track "*.qch"
- name: Run doxygen
run: doxygen Doxyfile
- run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add .gitattributes ${{ github.workspace }}/doc/QElectroTech.qch -f
git commit -m "Push updated QCH file"
git push
- name: Create Pull Request
uses: peter-evans/create-pull-request@v8
with:
token: ${{ secrets.MR_TOKEN }}
commit-message: update QCH file
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
title: Update QCH Help file
body: |
- Updating QT Help file following commit ${{ github.sha }}.
- Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
branch: update-qch
base: doxygen-MR
labels: |
qch
cicd
delete-branch: true
add-paths: doc/*.qch
- uses: actions/upload-pages-artifact@v3
with:
path: ${{ github.workspace }}/doc/html/