From 244237608d3cd423df35fabd34392df712b281d9 Mon Sep 17 00:00:00 2001 From: Andrea Amorosi Date: Tue, 10 May 2022 14:35:04 -0400 Subject: [PATCH] fix: reintroduce token while checking out --- .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