Skip to content

Commit

Permalink
Create issue.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
visnkmr authored Dec 1, 2023
1 parent 6bae7ba commit 84d0c15
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Stale Issues and Pull Requests

on:
schedule:
- cron: '0 0 * * *' # Runs every day at midnight UTC
push:
# issues:
# types: [opened, reopened, edited]
# pull_request:
# types: [opened, reopened, edited]

jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Stale action
uses: actions/stale@v8
with:
stale-issue-message: 'This issue has been closed because it has been inactive for 7 days. Please feel free to reopen if you are still experiencing this problem.'
stale-pr-message: 'This pull request has been closed because it has been inactive for 7 days. Please feel free to reopen if you are still interested in contributing.'
days-before-stale: 14
days-before-close: 7
stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'
exempt-issue-labels: 'keep open'
exempt-pr-labels: 'keep open'
exempt-milestone: 'upcoming release'
exempt-assignees: 'octocat'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 84d0c15

Please sign in to comment.