Bump actions/github-script from 7 to 9
Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 9.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v7...v9)
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-version: '9'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml
index ae93be8..e0f7fbf 100644
--- a/.github/workflows/prepare-release.yml
+++ b/.github/workflows/prepare-release.yml
@@ -86,7 +86,7 @@
- name: Update changelog for version ${{ needs.setup.outputs.new-version }}
id: changelog
- uses: actions/github-script@v7
+ uses: actions/github-script@v9
with:
script: |
var fs = require('fs')
@@ -180,7 +180,7 @@
run: git push origin
- name: Create pull request
- uses: actions/github-script@v7
+ uses: actions/github-script@v9
with:
script: |
const pr = await github.rest.pulls.create({
diff --git a/.github/workflows/publish-crate.yml b/.github/workflows/publish-crate.yml
index e6c1260..ccee011 100644
--- a/.github/workflows/publish-crate.yml
+++ b/.github/workflows/publish-crate.yml
@@ -30,7 +30,7 @@
- name: Lookup ${{ steps.vars.outputs.version }} tag
id: need-release
- uses: actions/github-script@v7
+ uses: actions/github-script@v9
with:
script: |
const version = '${{ steps.vars.outputs.version }}'