CI: Update Stale Bot config
This commit is contained in:
parent
b9de38f7f2
commit
d01918a2fe
13
.github/workflows/stale.yml
vendored
13
.github/workflows/stale.yml
vendored
@ -1,15 +1,21 @@
|
|||||||
name: "Mark or close stale issues and PRs"
|
name: Mark or close stale issues and PRs
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 12 * * *"
|
- cron: "0 */6 * * *"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
|
name: Mark or close stale issues and PRs
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v3
|
- uses: actions/stale@v3
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
days-before-stale: 7
|
days-before-stale: 7
|
||||||
days-before-close: 2
|
days-before-close: 2
|
||||||
stale-issue-message: >
|
stale-issue-message: >
|
||||||
@ -25,4 +31,3 @@ jobs:
|
|||||||
exempt-issue-labels: "type: Bug,type: Enhancement,type: Feature,type: Idea,type: Release,info: Pinned"
|
exempt-issue-labels: "type: Bug,type: Enhancement,type: Feature,type: Idea,type: Release,info: Pinned"
|
||||||
exempt-pr-labels: "type: Bug,type: Enhancement,type: Feature,type: Idea,type: Release,info: Pinned"
|
exempt-pr-labels: "type: Bug,type: Enhancement,type: Feature,type: Idea,type: Release,info: Pinned"
|
||||||
remove-stale-when-updated: true
|
remove-stale-when-updated: true
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user