Skip to content

Commit

Permalink
Use stale action (#4436)
Browse files Browse the repository at this point in the history
* Use stale action

* Use stale action

* Update .github/workflows/stale-bot.yaml

Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com>

* Update .github/workflows/stale-bot.yaml

Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com>

* Update .github/workflows/stale-bot.yaml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Update .github/workflows/stale-bot.yaml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

* Update .github/workflows/stale-bot.yaml

Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>

---------

Co-authored-by: wojteknowacki <124166231+wojteknowacki@users.noreply.github.com>
Co-authored-by: Michał Droń <droniu@droniu.dev>
Co-authored-by: Mikail <6186720+NyanKiyoshi@users.noreply.github.com>
  • Loading branch information
4 people authored and poulch committed Dec 18, 2023
1 parent 2f27f6b commit fbc1a92
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 63 deletions.
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

0 comments on commit fbc1a92

Please sign in to comment.