mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +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:
|
permissions:
|
||||||
issues: write
|
issues: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/github-script@v6
|
- uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
let issue_query = {
|
let issue_query = {
|
||||||
|
6
.github/workflows/stale.yml
vendored
6
.github/workflows/stale.yml
vendored
@ -7,14 +7,14 @@ jobs:
|
|||||||
stale:
|
stale:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v8
|
- uses: actions/stale@v9
|
||||||
with:
|
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.'
|
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'
|
any-of-labels: 'category:question,requires:repro,requires:more-information'
|
||||||
days-before-issue-stale: 28
|
days-before-issue-stale: 28
|
||||||
days-before-pr-stale: -1
|
days-before-pr-stale: -1
|
||||||
days-before-close: 14
|
days-before-close: 14
|
||||||
- uses: actions/stale@v8
|
- uses: actions/stale@v9
|
||||||
with:
|
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."
|
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'
|
any-of-labels: 'category:new-port'
|
||||||
@ -22,7 +22,7 @@ jobs:
|
|||||||
days-before-issue-stale: 60
|
days-before-issue-stale: 60
|
||||||
days-before-pr-stale: -1
|
days-before-pr-stale: -1
|
||||||
days-before-close: 14
|
days-before-close: 14
|
||||||
- uses: actions/stale@v8
|
- uses: actions/stale@v9
|
||||||
with:
|
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."
|
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'
|
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:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
# fetch-depth 50 tries to ensure we capture the whole history of the branch
|
# fetch-depth 50 tries to ensure we capture the whole history of the branch
|
||||||
fetch-depth: 50
|
fetch-depth: 50
|
||||||
@ -46,7 +46,7 @@ jobs:
|
|||||||
git reset HEAD~ --mixed
|
git reset HEAD~ --mixed
|
||||||
|
|
||||||
- name: Generate Reply
|
- name: Generate Reply
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v7
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const { promises: fs } = require('fs')
|
const { promises: fs } = require('fs')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user