Skip to content

Commit

Permalink
ci: use reusable stale bot workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Oct 9, 2023
1 parent 3a1ee67 commit ff7843a
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,11 @@ on:
schedule:
- cron: "30 12 * * *"

permissions:
issues: write
pull-requests: write

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
stale-issue-message: "This issue has been marked as stale because it has not had recent activity. The bot will close the issue if no further action occurs."
exempt-issue-labels: "pinned"
stale-issue-labels: "stale"
stale-pr-message: "This PR has been marked as stale because it has not had recent activity. The bot will close the PR if no further action occurs."
exempt-pr-labels: "pinned"
stale-pr-labels: "stale"
days-before-stale: 90
days-before-close: 30
permissions:
issues: write
pull-requests: write

uses: hetznercloud/.github/.github/workflows/stale.yml@main

0 comments on commit ff7843a

Please sign in to comment.