Skip to content

Commit

Permalink
fix: reintroduce token while checking out (#848)
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamorosi committed Jul 21, 2022
1 parent 3ac9028 commit e9948e2
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
Expand Up @@ -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
Expand Down

0 comments on commit e9948e2

Please sign in to comment.