diff --git a/.github/workflows/pr-file-check.yml b/.github/workflows/pr-file-check.yml index 4e32915955ea..fcdf91b4f64b 100644 --- a/.github/workflows/pr-file-check.yml +++ b/.github/workflows/pr-file-check.yml @@ -42,7 +42,7 @@ jobs: failure-message: 'TypeScript code was edited without also editing a ${file-pattern} file; see the Testing page in our wiki on testing guidelines (the ${skip-label} label can be used to pass this check)' - name: 'Ensure PR has an associated issue' - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const labels = context.payload.pull_request.labels.map(label => label.name); diff --git a/.github/workflows/stale-prs.yml b/.github/workflows/stale-prs.yml index fc4497c197b1..f4cb37a7965e 100644 --- a/.github/workflows/stale-prs.yml +++ b/.github/workflows/stale-prs.yml @@ -12,7 +12,7 @@ jobs: uses: actions/checkout@v2 - name: Warn about stale PRs - uses: actions/github-script@v4 + uses: actions/github-script@v7 with: script: | const { Octokit } = require("@octokit/rest");