mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 09:31:08 +08:00
[actions] Update workflows (#36404)
This commit is contained in:
parent
f7c5a7c8fc
commit
af8f7ee870
2
.github/workflows/check_issues.yml
vendored
2
.github/workflows/check_issues.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
||||
permissions:
|
||||
issues: write
|
||||
steps:
|
||||
- uses: actions/github-script@v6
|
||||
- uses: actions/github-script@v7
|
||||
with:
|
||||
script: |
|
||||
let issue_query = {
|
||||
|
6
.github/workflows/stale.yml
vendored
6
.github/workflows/stale.yml
vendored
@ -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'
|
||||
|
4
.github/workflows/untrustedPR.yml
vendored
4
.github/workflows/untrustedPR.yml
vendored
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user