Skip to content

Commit 6d94d00

Browse files
Update actions/github-script action to v7 (#4738)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 0a5fba7 commit 6d94d00

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release-cycle.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
uses: ./.github/actions/setup
3333
- id: state
3434
name: Get state
35-
uses: actions/github-script@v6
35+
uses: actions/github-script@v7
3636
env:
3737
TRIGGERING_ACTOR: ${{ github.triggering_actor }}
3838
with:
@@ -66,7 +66,7 @@ jobs:
6666
name: Create branch with release candidate
6767
run: bash scripts/release/workflow/start.sh
6868
- name: Re-run workflow
69-
uses: actions/github-script@v6
69+
uses: actions/github-script@v7
7070
env:
7171
REF: ${{ steps.start.outputs.branch }}
7272
with:
@@ -89,7 +89,7 @@ jobs:
8989
if: needs.state.outputs.is_prerelease == 'true'
9090
run: bash scripts/release/workflow/exit-prerelease.sh
9191
- name: Re-run workflow
92-
uses: actions/github-script@v6
92+
uses: actions/github-script@v7
9393
with:
9494
script: await require('./scripts/release/workflow/rerun.js')({ github, context })
9595

@@ -108,7 +108,7 @@ jobs:
108108
- name: Set up environment
109109
uses: ./.github/actions/setup
110110
- name: Set release title
111-
uses: actions/github-script@v6
111+
uses: actions/github-script@v7
112112
with:
113113
result-encoding: string
114114
script: await require('./scripts/release/workflow/set-changesets-pr-title.js')({ core })
@@ -154,7 +154,7 @@ jobs:
154154
TARBALL: ${{ steps.pack.outputs.tarball }}
155155
TAG: ${{ steps.pack.outputs.tag }}
156156
- name: Create Github Release
157-
uses: actions/github-script@v6
157+
uses: actions/github-script@v7
158158
env:
159159
PRERELEASE: ${{ needs.state.outputs.is_prerelease }}
160160
with:
@@ -200,7 +200,7 @@ jobs:
200200
git checkout -B "$MERGE_BRANCH" "$GITHUB_REF_NAME"
201201
git push -f origin "$MERGE_BRANCH"
202202
- name: Create PR back to master
203-
uses: actions/github-script@v6
203+
uses: actions/github-script@v7
204204
with:
205205
script: |
206206
await github.rest.pulls.create({

0 commit comments

Comments
 (0)