Skip to content

Commit f7f66b1

Browse files
authored
ci: use reusable stale bot workflow (#314)
1 parent 3a1ee67 commit f7f66b1

1 file changed

Lines changed: 5 additions & 16 deletions

File tree

.github/workflows/stale.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,10 @@ on:
44
schedule:
55
- cron: "30 12 * * *"
66

7-
permissions:
8-
issues: write
9-
pull-requests: write
10-
117
jobs:
128
stale:
13-
runs-on: ubuntu-latest
14-
steps:
15-
- uses: actions/stale@v8
16-
with:
17-
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."
18-
exempt-issue-labels: "pinned"
19-
stale-issue-labels: "stale"
20-
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."
21-
exempt-pr-labels: "pinned"
22-
stale-pr-labels: "stale"
23-
days-before-stale: 90
24-
days-before-close: 30
9+
permissions:
10+
issues: write
11+
pull-requests: write
12+
13+
uses: hetznercloud/.github/.github/workflows/stale.yml@main

0 commit comments

Comments
 (0)