From e9948e2169717ef822ceb0efef78e8e98861bdbd Mon Sep 17 00:00:00 2001 From: Andrea Amorosi Date: Wed, 11 May 2022 02:06:00 -0400 Subject: [PATCH] fix: reintroduce token while checking out (#848) --- .github/workflows/on-release-prod.yml | 3 +++ 1 file changed, 3 insertions(+) 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