Skip to content

Commit

Permalink
chore(deps): update actions/github-script action to v7 (#682)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] committed Nov 27, 2023
1 parent 0866e2b commit d277f5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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`, [], {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit d277f5f

Please sign in to comment.