From 76afa7c04f23ba8631349a54a7e55393138c44dd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 13 Nov 2023 19:58:40 +0000 Subject: [PATCH] chore(deps): update actions/github-script action to v7 --- .github/workflows/create-release-pr.yml | 2 +- .github/workflows/publish.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/create-release-pr.yml b/.github/workflows/create-release-pr.yml index f5ae06388..c95895565 100644 --- a/.github/workflows/create-release-pr.yml +++ b/.github/workflows/create-release-pr.yml @@ -34,7 +34,7 @@ jobs: run: echo "PACKAGE_VERSION=$(cat lerna.json | jq -r .version)" >> $GITHUB_ENV - name: Set GitHub Release Note id: release_note - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const result = await exec.getExecOutput(`gh api "/repos/{owner}/{repo}/releases/generate-notes" -f tag_name="${process.env.PACKAGE_VERSION}" --jq .body`, [], { diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3c044007c..0db49d1df 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -82,7 +82,7 @@ jobs: ${{ github.event.pull_request.body }} draft: false prerelease: false - - uses: actions/github-script@v6 + - uses: actions/github-script@v7 if: steps.tag_check.outputs.exists_tag == 'false' && github.event.pull_request.merged == true with: github-token: ${{secrets.GITHUB_TOKEN}}