diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index c2025dd..eebba10 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -5,6 +5,9 @@ on: schedule: - cron: "17 3 */2 * *" +permissions: + contents: write + jobs: build: runs-on: prunner-ubuntu @@ -45,6 +48,7 @@ jobs: if: steps.release.outputs.skip != 'true' working-directory: . run: | + git config --global --add safe.directory '*' printf '%s\n' "${{ steps.release.outputs.tag }}" > .current-version git config user.name "gitea-actions[bot]" git config user.email "gitea-actions[bot]@localhost"