Skip to content

Commit

Permalink
build: use reusable-workflows [3]
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Kotzbauer <[email protected]>
  • Loading branch information
ckotzbauer committed Apr 5, 2022
1 parent 9d61581 commit 20e23fb
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
name: Close stale issues
name: stale
on:
schedule:
- cron: "0 0 * * *"

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5
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
uses: ckotzbauer/actions-toolkit/.github/workflows/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 20e23fb

Please sign in to comment.