diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2646469..69e19ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,7 @@ on: branches: [main] pull_request: branches: [main] + workflow_dispatch: jobs: build: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b7e6750..38c8648 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,6 +12,9 @@ on: jobs: build-installer: + # Gitea reads .github/workflows/ for compatibility, but the create-release + # step uses a GitHub-only action. Skip the whole job on non-GitHub runners. + if: github.server_url == 'https://github.com' runs-on: windows-latest permissions: contents: write # needed to create releases / upload assets diff --git a/.github/workflows/wiki-sync.yml b/.github/workflows/wiki-sync.yml index 349fefa..289eee8 100644 --- a/.github/workflows/wiki-sync.yml +++ b/.github/workflows/wiki-sync.yml @@ -11,6 +11,10 @@ on: jobs: sync: + # Gitea reads .github/workflows/ for compatibility, but this workflow + # pushes to a GitHub-hosted wiki. Skip on non-GitHub runners; the Gitea + # wiki is synced separately via scripts/sync-wiki.ps1. + if: github.server_url == 'https://github.com' runs-on: windows-latest permissions: contents: write