From 11fcecdff5edd704bbeda1cef7433c06221674b3 Mon Sep 17 00:00:00 2001 From: jamie bowen Date: Tue, 22 Mar 2022 08:46:58 +0000 Subject: [PATCH 1/2] Pin github actions to v0 rather than master See issue; https://github.com/google-github-actions/setup-gcloud/issues/539 --- .github/workflows/merge.yml | 2 +- .github/workflows/pr.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 54eadccf..ef064de2 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -58,7 +58,7 @@ jobs: MAVEN_USERNAME: ${{ secrets.FR_ARTIFACTORY_USER }} MAVEN_CENTRAL_TOKEN: ${{ secrets.FR_ARTIFACTORY_TOKEN }} - - uses: google-github-actions/setup-gcloud@master + - uses: google-github-actions/setup-gcloud@v0 with: service_account_key: ${{ secrets.GCR_KEY }} export_default_credentials: true diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index a591f31b..410ad5b2 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -49,7 +49,7 @@ jobs: server-username: MAVEN_USERNAME # env variable for username in deploy server-password: MAVEN_CENTRAL_TOKEN # env variable for token in deploy - - uses: google-github-actions/setup-gcloud@master + - uses: google-github-actions/setup-gcloud@v0 with: service_account_key: ${{ secrets.GCR_KEY }} @@ -82,7 +82,7 @@ jobs: token: ${{ secrets.CODECOV_ACCESS_TOKEN }} - name: 'Deploy Service' - uses: codefresh-io/codefresh-pipeline-runner@master + uses: codefresh-io/codefresh-pipeline-runner@v0 with: args: '-v TAG=${{ env.PR_NUMBER }} -v SERVICE_NAME=rcs -v ENVIRONMENT=${{ github.actor }} -v BRANCH=${{ github.head_ref }}' env: From 5c7a75ff1f8bc8572405799ae7b09a5928012657 Mon Sep 17 00:00:00 2001 From: Jorge Sanchez Perez <54277573+jorgesanchezperez@users.noreply.github.com> Date: Tue, 22 Mar 2022 08:53:06 +0000 Subject: [PATCH 2/2] Update pr.yml Rollback pipeline runner version to master --- .github/workflows/pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 410ad5b2..b2d70957 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -82,7 +82,7 @@ jobs: token: ${{ secrets.CODECOV_ACCESS_TOKEN }} - name: 'Deploy Service' - uses: codefresh-io/codefresh-pipeline-runner@v0 + uses: codefresh-io/codefresh-pipeline-runner@master with: args: '-v TAG=${{ env.PR_NUMBER }} -v SERVICE_NAME=rcs -v ENVIRONMENT=${{ github.actor }} -v BRANCH=${{ github.head_ref }}' env: