From 596baba5eff6fbcfece845b821a3fcf87373a5c3 Mon Sep 17 00:00:00 2001 From: donpat1to Date: Sat, 4 Oct 2025 01:41:06 +0200 Subject: [PATCH] added permissions for packages and moved token to actions checkout --- .gitea/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index de96879..3646c76 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -10,6 +10,7 @@ on: permissions: contents: write + packages: write env: DOTNET_VERSION: '8.0.x' @@ -112,6 +113,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + token: ${{ secrets.GITHUB_TOKEN }} - name: Set up Git user run: | @@ -119,8 +121,6 @@ jobs: git config user.email "actions@github.com" - name: Create and push tag - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git tag ${{ needs.set-tag.outputs.tag_name }} git push origin ${{ needs.set-tag.outputs.tag_name }} \ No newline at end of file