[actions] Update workflows (#36404)

This commit is contained in:
Thomas1664 2024-02-01 23:59:24 +01:00 committed by GitHub
parent f7c5a7c8fc
commit af8f7ee870
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View File

@ -11,7 +11,7 @@ jobs:
permissions:
issues: write
steps:
- uses: actions/github-script@v6
- uses: actions/github-script@v7
with:
script: |
let issue_query = {

View File

@ -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'

View File

@ -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')