Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use stale action #4436

Merged
merged 10 commits into from
Nov 15, 2023
Merged
5 changes: 5 additions & 0 deletions .changeset/itchy-pumas-sip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"saleor-dashboard": patch
---

Use stale action instead of stalebot
63 changes: 0 additions & 63 deletions .github/stale.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/stale-bot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Close stale issues and PRs
on:
schedule:
- cron: '30 1 * * *' # every day at 1:30am UTC

jobs:
stale:
runs-on: ubuntu-22.04
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v8
with:
stale-issue-message: This issue is stale because it has been open 14 days with no activity.
stale-pr-message: This pull request is stale because it has been open 14 days with no activity.
close-issue-message: This issue was closed because it has been stalled for 2 days with no activity. You are still welcome to reopen it and continue from where you finished. Best regards Saleor team
close-pr-message: This PR request has been closed because it has been stalled for 2 days with no activity. You are still welcome to reopen it and continue from where you finished. Best regards Saleor team
days-before-stale: 14
days-before-close: 2
exempt-pr-labels: epic,triage,bug,blocker,backlog,feature
Loading