Skip to contentSkip to conversation

GHA: limit "Deploy Doxygen documentation" to main repo only

PATCH In review Ilia Shipitsin 3 participants 3 messages Aug 11, 2025 – Aug 12, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 GHA: limit "Deploy Doxygen documentation" to main repo only

that workflow was accidently triggered in fork repo, where there's no github pages set

---
 .github/workflows/doxygen.yml | 1 +
 1 file changed, 1 insertion(+)
.github/workflows/doxygen.yml +1 -0
index ffd1b826..751258a9 100644
@@ -9,6 +9,7 @@ concurrency:
 jobs:
   build:
     runs-on: ubuntu-24.04
+    if: ${{ github.repository_owner == 'openvpn' || github.event_name == 'workflow_dispatch' }}
     steps:
       - uses: actions/[email protected]... # v4.2.2
         with:
Signature · 1 line
2.46.0.windows.1
#2 lore raw

[Openvpn-devel] [PATCH applied] Re: GHA: limit 'Deploy Doxygen documentation' to main repo only

In reply to Ilia Shipitsin

For whatever reason, I never had problems with this (I think it was explained to me how to disable this particular action) - but indeed, this is a useful change, because it does not make sense outside the main openvpn repo.

Your patch has been applied to the master branch.

commit c4f4f26d48babdf4f15a6cde837317c7216abbba

Author: Ilia Shipitsin
Date:   Mon Aug 11 18:13:23 2025 +0200
     GHA: limit 'Deploy Doxygen documentation' to main repo only

     Signed-off-by: Ilia Shipitsin <[email protected]...>
     Acked-by: Frank Lichtenheld <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg32598.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering