Skip to content

Commit cabef3e

Browse files
authored
fix: reintroduce token while checking out (#848)
1 parent 5106660 commit cabef3e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: .github/workflows/on-release-prod.yml

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
- name: "Checkout"
1515
uses: actions/checkout@v3
1616
with:
17+
# Here `token` is needed to avoid incurring in error GH006 Protected Branch Update Failed,
18+
token: ${{ secrets.GH_PUBLISH_TOKEN }}
19+
# While `fetch-depth` is used to allow the workflow to later commit & push the changes.
1720
fetch-depth: 0
1821
#########################
1922
# Release new version

0 commit comments

Comments
 (0)