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}}