build: use reusable-workflows [3]
Signed-off-by: Christian Kotzbauer <git@ckotzbauer.de>
This commit is contained in:
parent
aa602b4cbc
commit
2e87008109
|
|
@ -1,19 +1,10 @@
|
||||||
name: Close stale issues
|
name: stale
|
||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * *"
|
- cron: "0 0 * * *"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
runs-on: ubuntu-latest
|
uses: ckotzbauer/actions-toolkit/.github/workflows/toolkit-stale.yml@0.10.1
|
||||||
steps:
|
with:
|
||||||
- uses: actions/stale@v4
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label with `/remove-lifecycle stale` or comment or this will be closed in 5 days.'
|
|
||||||
stale-pr-message: 'This pull request is stale because it has been open 90 days with no activity. Remove stale label with `/remove-lifecycle stale` or comment or this will be closed in 5 days.'
|
|
||||||
stale-issue-label: 'lifecycle/stale'
|
|
||||||
exempt-issue-labels: 'work-in-progress,lifecycle/frozen'
|
|
||||||
stale-pr-label: 'lifecycle/stale'
|
|
||||||
exempt-pr-labels: 'work-in-progress,lifecycle/frozen'
|
|
||||||
days-before-stale: 90
|
|
||||||
days-before-close: 5
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue