mirror of
https://github.com/Expand-sys/awx-on-k3s
synced 2026-03-22 11:07:08 +11:00
feat: add workflow to mark and close issues with no activity
This commit is contained in:
parent
66706be022
commit
13910a5d23
1 changed files with 20 additions and 0 deletions
20
.github/workflows/issues.yaml
vendored
Normal file
20
.github/workflows/issues.yaml
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
name: Close stale issues
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 19 * * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
issues:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/stale@v6
|
||||||
|
with:
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
stale-issue-message: This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days.
|
||||||
|
close-issue-message: This issue was closed because it has been stalled for 7 days with no activity.
|
||||||
|
stale-issue-label: stale
|
||||||
|
days-before-issue-stale: 14
|
||||||
|
days-before-issue-close: 7
|
||||||
|
days-before-pr-stale: -1
|
||||||
|
days-before-pr-close: -1
|
||||||
Loading…
Reference in a new issue