]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: spellcheck: allow "on: workflow_dispatch" in forks
authorIlia Shipitsin <chipitsine@gmail.com>
Thu, 27 Mar 2025 21:29:15 +0000 (22:29 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 28 Mar 2025 08:51:35 +0000 (09:51 +0100)
previously that build were limited to "haproxy" github organization
only. let's allow manual builds from forks

.github/workflows/codespell.yml

index 93e9020dc99f3aa2c90ec04f3cf707a321ca67dc..91e9d8ec71626838f92cdf20751f4a0a0d917e6c 100644 (file)
@@ -10,7 +10,7 @@ permissions:
 jobs:
   codespell:
     runs-on: ubuntu-latest
-    if: ${{ github.repository_owner == 'haproxy' }}
+    if: ${{ github.repository_owner == 'haproxy' || github.event_name == 'workflow_dispatch' }}
     steps:
     - uses: actions/checkout@v4
     - uses: codespell-project/codespell-problem-matcher@v1.2.0