From af8f7ee870b7e022861ccbb9d6642cdd82dbd410 Mon Sep 17 00:00:00 2001 From: Thomas1664 <46387399+Thomas1664@users.noreply.github.com> Date: Thu, 1 Feb 2024 23:59:24 +0100 Subject: [PATCH] [actions] Update workflows (#36404) --- .github/workflows/check_issues.yml | 2 +- .github/workflows/stale.yml | 6 +++--- .github/workflows/untrustedPR.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/check_issues.yml b/.github/workflows/check_issues.yml index 4dee442c9b6a01..5aa7d20187ba68 100644 --- a/.github/workflows/check_issues.yml +++ b/.github/workflows/check_issues.yml @@ -11,7 +11,7 @@ jobs: permissions: issues: write steps: - - uses: actions/github-script@v6 + - uses: actions/github-script@v7 with: script: | let issue_query = { diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 07bef3cc8a6721..d3fe73a0716d36 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -7,14 +7,14 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v8 + - uses: actions/stale@v9 with: stale-issue-message: 'This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.' any-of-labels: 'category:question,requires:repro,requires:more-information' days-before-issue-stale: 28 days-before-pr-stale: -1 days-before-close: 14 - - uses: actions/stale@v8 + - uses: actions/stale@v9 with: stale-issue-message: "This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 60 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment." any-of-labels: 'category:new-port' @@ -22,7 +22,7 @@ jobs: days-before-issue-stale: 60 days-before-pr-stale: -1 days-before-close: 14 - - uses: actions/stale@v8 + - uses: actions/stale@v9 with: stale-issue-message: "This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment." exempt-issue-labels: 'no-stale,category:new-port,category:question,requires:repro,requires:more-information' diff --git a/.github/workflows/untrustedPR.yml b/.github/workflows/untrustedPR.yml index f350977690749a..0fba0c32026b02 100644 --- a/.github/workflows/untrustedPR.yml +++ b/.github/workflows/untrustedPR.yml @@ -9,7 +9,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # fetch-depth 50 tries to ensure we capture the whole history of the branch fetch-depth: 50 @@ -46,7 +46,7 @@ jobs: git reset HEAD~ --mixed - name: Generate Reply - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: | const { promises: fs } = require('fs')