FIX WORK DIR PERMS
This commit is contained in:
@@ -5,6 +5,9 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
- cron: "17 3 */2 * *"
|
- cron: "17 3 */2 * *"
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: prunner-ubuntu
|
runs-on: prunner-ubuntu
|
||||||
@@ -45,6 +48,7 @@ jobs:
|
|||||||
if: steps.release.outputs.skip != 'true'
|
if: steps.release.outputs.skip != 'true'
|
||||||
working-directory: .
|
working-directory: .
|
||||||
run: |
|
run: |
|
||||||
|
git config --global --add safe.directory '*'
|
||||||
printf '%s\n' "${{ steps.release.outputs.tag }}" > .current-version
|
printf '%s\n' "${{ steps.release.outputs.tag }}" > .current-version
|
||||||
git config user.name "gitea-actions[bot]"
|
git config user.name "gitea-actions[bot]"
|
||||||
git config user.email "gitea-actions[bot]@localhost"
|
git config user.email "gitea-actions[bot]@localhost"
|
||||||
|
|||||||
Reference in New Issue
Block a user