|
@@ -32,7 +32,7 @@ jobs:
|
|
|
uses: ./.github/actions/setup
|
|
|
- id: state
|
|
|
name: Get state
|
|
|
- uses: actions/github-script@v6
|
|
|
+ uses: actions/github-script@v7
|
|
|
env:
|
|
|
TRIGGERING_ACTOR: ${{ github.triggering_actor }}
|
|
|
with:
|
|
@@ -66,7 +66,7 @@ jobs:
|
|
|
name: Create branch with release candidate
|
|
|
run: bash scripts/release/workflow/start.sh
|
|
|
- name: Re-run workflow
|
|
|
- uses: actions/github-script@v6
|
|
|
+ uses: actions/github-script@v7
|
|
|
env:
|
|
|
REF: ${{ steps.start.outputs.branch }}
|
|
|
with:
|
|
@@ -89,7 +89,7 @@ jobs:
|
|
|
if: needs.state.outputs.is_prerelease == 'true'
|
|
|
run: bash scripts/release/workflow/exit-prerelease.sh
|
|
|
- name: Re-run workflow
|
|
|
- uses: actions/github-script@v6
|
|
|
+ uses: actions/github-script@v7
|
|
|
with:
|
|
|
script: await require('./scripts/release/workflow/rerun.js')({ github, context })
|
|
|
|
|
@@ -108,7 +108,7 @@ jobs:
|
|
|
- name: Set up environment
|
|
|
uses: ./.github/actions/setup
|
|
|
- name: Set release title
|
|
|
- uses: actions/github-script@v6
|
|
|
+ uses: actions/github-script@v7
|
|
|
with:
|
|
|
result-encoding: string
|
|
|
script: await require('./scripts/release/workflow/set-changesets-pr-title.js')({ core })
|
|
@@ -154,7 +154,7 @@ jobs:
|
|
|
TARBALL: ${{ steps.pack.outputs.tarball }}
|
|
|
TAG: ${{ steps.pack.outputs.tag }}
|
|
|
- name: Create Github Release
|
|
|
- uses: actions/github-script@v6
|
|
|
+ uses: actions/github-script@v7
|
|
|
env:
|
|
|
PRERELEASE: ${{ needs.state.outputs.is_prerelease }}
|
|
|
with:
|
|
@@ -200,7 +200,7 @@ jobs:
|
|
|
git checkout -B "$MERGE_BRANCH" "$GITHUB_REF_NAME"
|
|
|
git push -f origin "$MERGE_BRANCH"
|
|
|
- name: Create PR back to master
|
|
|
- uses: actions/github-script@v6
|
|
|
+ uses: actions/github-script@v7
|
|
|
with:
|
|
|
script: |
|
|
|
await github.rest.pulls.create({
|