diff --git a/.github/workflows/on-release-prod.yml b/.github/workflows/on-release-prod.yml index 9d8061a11b..a202d7da1d 100644 --- a/.github/workflows/on-release-prod.yml +++ b/.github/workflows/on-release-prod.yml @@ -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