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