mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-26 10:49:56 +02:00
Update stale.yml
This commit is contained in:
parent
c18d32b4e8
commit
baca4e972d
29
.github/workflows/stale.yml
vendored
29
.github/workflows/stale.yml
vendored
@ -1,22 +1,19 @@
|
||||
name: Close inactive issues
|
||||
name: "Close stale issues/pull requests"
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
- cron: "0 0 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
close-issues:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/stale@v3
|
||||
with:
|
||||
days-before-issue-stale: 7
|
||||
days-before-issue-close: 2
|
||||
stale-issue-label: "stale"
|
||||
stale-issue-message: "This issue is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 2 days."
|
||||
close-issue-message: "This issue was closed because it has been inactive for 2 days since being marked as stale."
|
||||
days-before-pr-stale: -1
|
||||
days-before-pr-close: -1
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/stale@v3
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
stale-issue-message: 'This issue is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 2 days'
|
||||
stale-pr-message: 'This pull request is stale because it has been open 5 days with no activity. Remove stale label or comment or this will be closed in 2 days'
|
||||
days-before-stale: 5
|
||||
days-before-close: 2
|
||||
operations-per-run: 500
|
||||
exempt-issue-labels: 'breaking change'
|
||||
|
Loading…
Reference in New Issue
Block a user