Skip to content

Commit

Permalink
chore: Add stale action
Browse files Browse the repository at this point in the history
Closes: #1142
Signed-off-by: Michael Gasch <15986659+embano1@users.noreply.github.com>
  • Loading branch information
embano1 committed Jan 20, 2023
1 parent 71ae904 commit 525210b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/stale.yaml
@@ -0,0 +1,29 @@
name: Stale

on:
schedule:
- cron: "0 1 * * *" # daily

jobs:
stale:
runs-on: "ubuntu-latest"

steps:
- uses: "actions/stale@v7"
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

stale-issue-message: |-
This issue is stale because it has been open for 30 days with no
activity. Mark as fresh by updating e.g., adding the comment `/remove-lifecycle stale`.
stale-issue-label: "lifecycle/stale"
exempt-issue-labels: "lifecycle/frozen"

stale-pr-message: |-
This Pull Request is stale because it has been open for 30 days with
no activity. Mark as fresh by updating e.g., adding the comment `/remove-lifecycle stale`.
stale-pr-label: "lifecycle/stale"
exempt-pr-labels: "lifecycle/frozen"

days-before-stale: 30
days-before-close: -1 # never

0 comments on commit 525210b

Please sign in to comment.