From 94269afc76ca7f16b05d7061e135edd47ca2a2a0 Mon Sep 17 00:00:00 2001 From: Int-Circuit Date: Mon, 4 Aug 2025 16:06:40 +0200 Subject: [PATCH] push QCH file only if MR is accepted fix errors due to github conflict editor being crappy --- .github/workflows/auto-doxygen.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/auto-doxygen.yml b/.github/workflows/auto-doxygen.yml index 4fb38bef3..92a2c3863 100644 --- a/.github/workflows/auto-doxygen.yml +++ b/.github/workflows/auto-doxygen.yml @@ -16,6 +16,7 @@ jobs: permissions: contents: write runs-on: ubuntu-24.04 + if: github.ref == 'refs/heads/master' steps: - uses: actions/checkout@v4 with: @@ -35,8 +36,6 @@ jobs: git add .gitattributes ${{ github.workspace }}/doc/QElectroTech.qch -f git commit -m "Push updated QCH file" git push - - name: Run doxygen - run: doxygen Doxyfile - uses: actions/upload-pages-artifact@v3 with: path: ${{ github.workspace }}/doc/html/