From aa516667cd63eb1e46f125acf846e88ab13284b1 Mon Sep 17 00:00:00 2001 From: Antoine Piron Date: Wed, 10 Jun 2026 13:36:13 +0200 Subject: [PATCH] fix(ci): skip on Gitea + add contents:write for release creation - Add job condition `github.server_url == 'https://github.com'` so Gitea (no runner) ignores the workflow entirely - Add `permissions: contents: write` required by softprops/action-gh-release Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cda7357..b79ab6f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,8 +7,11 @@ on: jobs: build: + if: github.server_url == 'https://github.com' runs-on: ubuntu-latest timeout-minutes: 60 + permissions: + contents: write steps: - uses: actions/checkout@v4