From cabef3e515c9074dc178efca76de7c72c70370e3 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