We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2c568f commit 72703d0Copy full SHA for 72703d0
.github/workflows/main.yml
@@ -15,6 +15,8 @@ jobs:
15
bump-version:
16
if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true
17
runs-on: ubuntu-22.04
18
+ permissions:
19
+ contents: write
20
steps:
21
- uses: actions/checkout@v3
22
with:
entrypoint.sh
@@ -242,6 +242,7 @@ fi
242
git tag "$new"
243
244
# push new tag ref to github
245
+# this needs permissions in the workflow as contents: write
246
dt=$(date '+%Y-%m-%dT%H:%M:%SZ')
247
full_name=$GITHUB_REPOSITORY
248
git_refs_url=$(jq .repository.git_refs_url "$GITHUB_EVENT_PATH" | tr -d '"' | sed 's/{\/sha}//g')
0 commit comments