[CI] Bump actions/github-script to v8 (Node 24 runtime) (#28741)
This commit is contained in:
@@ -11,7 +11,7 @@ runs:
|
|||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- name: Check PR test health
|
- name: Check PR test health
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v8
|
||||||
env:
|
env:
|
||||||
SKIP_PR_TEST_HEALTH_CHECK: ${{ env.SKIP_PR_TEST_HEALTH_CHECK }}
|
SKIP_PR_TEST_HEALTH_CHECK: ${{ env.SKIP_PR_TEST_HEALTH_CHECK }}
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Wait for jobs to complete
|
- name: Wait for jobs to complete
|
||||||
id: wait
|
id: wait
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v8
|
||||||
env:
|
env:
|
||||||
INPUT_STAGE_NAME: ${{ inputs.stage-name }}
|
INPUT_STAGE_NAME: ${{ inputs.stage-name }}
|
||||||
INPUT_JOBS: ${{ inputs.jobs }}
|
INPUT_JOBS: ${{ inputs.jobs }}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check and close inactive issues
|
- name: Check and close inactive issues
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v8
|
||||||
with:
|
with:
|
||||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
script: |
|
script: |
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: Fetch latest PR info
|
- name: Fetch latest PR info
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
id: pr
|
id: pr
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v8
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
@@ -79,7 +79,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Enforce rate limit for low-permission actors (optional)
|
- name: Enforce rate limit for low-permission actors (optional)
|
||||||
if: github.event_name == 'pull_request' && inputs.cool-down-minutes > 0
|
if: github.event_name == 'pull_request' && inputs.cool-down-minutes > 0
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v8
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Update CI states block in PR body
|
- name: Update CI states block in PR body
|
||||||
uses: actions/github-script@v7
|
uses: actions/github-script@v8
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const RETRY_ATTEMPTS = 3;
|
const RETRY_ATTEMPTS = 3;
|
||||||
|
|||||||
Reference in New Issue
Block a user