Revert "Switch to permissions for auto-release workflow" (#4185)

This commit is contained in:
Geoff Bourne
2026-07-20 13:45:20 -05:00
committed by GitHub
parent a3bb7bff34
commit 4cbdf520c8
2 changed files with 7 additions and 4 deletions
+6 -4
View File
@@ -8,11 +8,13 @@ jobs:
runs-on: ubuntu-latest
# If forked, changed to your username to enable auto-releases
if: github.repository_owner == 'itzg'
permissions:
# allow for creating releases/tags
contents: write
steps:
- uses: zenengeo/github-auto-release-action@main
with:
stable-duration: 3d
force-duration: 14d
force-duration: 14d
# It is important to use a token other than the workflow allocated GITHUB_TOKEN,
# since actions prevent loops by disallowing recursive workflow triggers with that token.
# In this case, the created tag needs to trigger the "Build and Publish" workflow.
token: '${{ secrets.GH_TOKEN }}'
+1
View File
@@ -18,6 +18,7 @@ on:
- "zensical.toml"
- ".readthedocs.yaml"
- "renovate.json5"
workflow_dispatch:
jobs:
build: