Skip to content

Commit

Permalink
Create stale-issue.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
priyankarpal authored May 22, 2023
1 parent 1d7ed04 commit 4dc8768
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/stale-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "Close Stale Issues"
on:
schedule:
- cron: '0 8 * * *'

permissions:
# All other permissions are set to none
issues: write

jobs:
stale:
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
with:
stale-issue-label: 'stale'
exempt-issue-labels: 'not-stale'
days-before-issue-stale: 3
days-before-issue-close: 1
# Only close stale issues, leave PRs alone
days-before-pr-stale: -1
stale-issue-message: >
This issue has been automatically marked as stale because it has been open for 3 days
with no activity. It will be closed in next 1 days if no further activity occurs. To
permanently prevent this issue from being considered stale, add the label 'not-stale',
but commenting on the issue is preferred when possible.
close-issue-message: >
This issue has been closed because it has not received any activity in the last 1 days
since being marked as 'stale'

1 comment on commit 4dc8768

@vercel
Copy link

@vercel vercel bot commented on 4dc8768 May 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

projectshut – ./

projectshut-git-main-priyankarpal.vercel.app
projectshut-priyankarpal.vercel.app
projectshut.vercel.app

Please sign in to comment.