From 5d7bb7a1dfb760687694ff8ddbeb60d314d0697a Mon Sep 17 00:00:00 2001 From: David Perl Date: Fri, 9 May 2025 11:24:53 +0200 Subject: [PATCH] fix: checkout action in release workflow --- .gitea/workflows/release.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index ee038c0..0de6487 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -3,7 +3,6 @@ on: push: branches: - main - - feat/release_actions permissions: contents: read @@ -14,14 +13,11 @@ jobs: runs-on: ubuntu-latest permissions: contents: write # to be able to publish a GitHub release - issues: write # to be able to comment on released issues - pull-requests: write # to be able to comment on released pull requests - id-token: write # to enable use of OIDC for npm provenance steps: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-depth: 1 - name: run_release env: GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }} -- 2.49.0