Skip to content

Commit

Permalink
Bala/Update messages in stale workflow (binary-com#8567)
Browse files Browse the repository at this point in the history
* chore: update stale PR messages

* chore: update messages

* chore: run at midnight UTC time & sort ascending
  • Loading branch information
balakrishna-deriv committed May 11, 2023
1 parent 4ba0537 commit 62bd456
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ permissions:

name: 'Close stale issues and PRs'
on:
workflow_dispatch:
schedule:
- cron: '30 1 * * *'
- cron: '0 0 * * *'

jobs:
stale:
Expand All @@ -14,5 +15,11 @@ jobs:
- uses: actions/stale@v8
with:
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
stale-pr-message: 'This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity. Please reopen it if needed.'
close-pr-message: 'This PR was closed because it has been stalled for 5 days with no activity. Please reopen it if needed.'
days-before-stale: 60
days-before-close: 5
ascending: true
operations-per-run: 200

0 comments on commit 62bd456

Please sign in to comment.