From 2079983abb3cec3e3773cee91cfb85f52afbdcdd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Nov 2023 20:18:26 +0000 Subject: [PATCH] Bump actions/github-script from 6 to 7 Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/github-script dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/github-script.yml | 2 +- .github/workflows/review-pending-deployments.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/github-script.yml b/.github/workflows/github-script.yml index 5064fd13..230ad303 100644 --- a/.github/workflows/github-script.yml +++ b/.github/workflows/github-script.yml @@ -12,7 +12,7 @@ jobs: comment: runs-on: ubuntu-latest steps: - - uses: actions/github-script@v6 + - uses: actions/github-script@v7 with: github-token: ${{secrets.GITHUB_TOKEN}} script: | diff --git a/.github/workflows/review-pending-deployments.yml b/.github/workflows/review-pending-deployments.yml index 6c61cded..e85de7b7 100644 --- a/.github/workflows/review-pending-deployments.yml +++ b/.github/workflows/review-pending-deployments.yml @@ -43,7 +43,7 @@ jobs: permissions: "actions:write,contents:read,deployments:read" - name: Get pending deployments - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{steps.get_workflow_token.outputs.token}} script: | @@ -55,7 +55,7 @@ jobs: console.log(result.data[0].environment) - name: ${{github.event.inputs.state}} - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: #github-token: ${{steps.get_workflow_token.outputs.token}} github-token: ${{secrets.GITHUB_TOKEN}}