From 5ea8e112fabe41a78fc5919eccd20b0553e3304c Mon Sep 17 00:00:00 2001 From: Wiktor Zykubek Date: Fri, 27 Dec 2024 21:18:14 +0100 Subject: [PATCH] ci: drop support for gitea release workflow Currently Gitea does not support (go-gitea/gitea#23642) equivalent of GITHUB_TOKEN variable and tools such GoReleaser can't be easily adjusted to support both GitHub and Gitea Actions. For Gitea is needed to use PAT what is associated with security risk. --- .github/workflows/release.yaml | 2 +- .goreleaser.yaml | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f9414a6..558aef4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -31,4 +31,4 @@ jobs: version: "~> v2" args: release --clean env: - GITEA_TOKEN: ${{ secrets.ACTION_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 32640c8..e5230f8 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -41,7 +41,3 @@ changelog: exclude: - "^docs:" - "^test:" - -gitea_urls: - api: https://git.brono.cloud/api/v1 - download: https://git.brono.cloud