From c380f36707a8024a2cc713e096bb28dcd1398edc Mon Sep 17 00:00:00 2001 From: Mariano Salerno Date: Mon, 1 Jul 2024 15:08:43 -0300 Subject: [PATCH] [GE-1029] Fix GHA Node deprecation warnings in build-push-image action (#335) * updating ssh-agent action version on build-push-image action * update github-script action version used in extract-env-variables --- .changeset/wet-rivers-sparkle.md | 6 ++++++ build-push-image/action.yml | 2 +- extract-env-variables/action.yml | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .changeset/wet-rivers-sparkle.md diff --git a/.changeset/wet-rivers-sparkle.md b/.changeset/wet-rivers-sparkle.md new file mode 100644 index 00000000..6b1be319 --- /dev/null +++ b/.changeset/wet-rivers-sparkle.md @@ -0,0 +1,6 @@ +--- +'davinci-github-actions': patch +--- + +- update `ssh-agent` action version used in build-push-image +- update `github-script` action version used in extract-env-variables diff --git a/build-push-image/action.yml b/build-push-image/action.yml index 4df93c92..d72aee74 100644 --- a/build-push-image/action.yml +++ b/build-push-image/action.yml @@ -102,7 +102,7 @@ runs: latest=${{ steps.meta-build.outputs.latest }} - name: Use SSH key - uses: toptal/ssh-agent@v0.4.1 + uses: webfactory/ssh-agent@v0.9.0 with: ssh-private-key: ${{ env.TOPTAL_BUILD_BOT_SSH_KEY }} diff --git a/extract-env-variables/action.yml b/extract-env-variables/action.yml index e2c36873..dedd571e 100644 --- a/extract-env-variables/action.yml +++ b/extract-env-variables/action.yml @@ -18,7 +18,7 @@ runs: steps: - name: Extract Env variables id: env-variables - uses: actions/github-script@v6.3.3 + uses: actions/github-script@v7 with: github-token: ${{ inputs.github-token }} result-encoding: string