Skip to content

Commit

Permalink
fix: reintroduce token while checking out (#848)
Browse files Browse the repository at this point in the history
dreamorosi authored May 11, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 5106660 commit cabef3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/on-release-prod.yml
Original file line number Diff line number Diff line change
@@ -14,6 +14,9 @@ jobs:
- name: "Checkout"
uses: actions/checkout@v3
with:
# Here `token` is needed to avoid incurring in error GH006 Protected Branch Update Failed,
token: ${{ secrets.GH_PUBLISH_TOKEN }}
# While `fetch-depth` is used to allow the workflow to later commit & push the changes.
fetch-depth: 0
#########################
# Release new version

0 comments on commit cabef3e

Please sign in to comment.