Skip to content

Commit

Permalink
ci: close stale issues with no min. repro (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
dalechyn authored May 15, 2024
1 parent 2aac5d5 commit 844eeca
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/close-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Close Issue

on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'

jobs:
close-issues:
runs-on: ubuntu-latest
steps:
- name: Needs Reproduction
uses: actions-cool/issues-helper@v3
with:
actions: 'close-issues'
token: ${{ secrets.GITHUB_TOKEN }}
labels: 'M: Needs Reproduction'
inactive-day: 3
4 changes: 2 additions & 2 deletions .github/workflows/label-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
reply-labeled:
runs-on: ubuntu-latest
steps:
- name: needs reproduction
if: github.event.label.name == 'needs reproduction'
- name: Needs Reproduction
if: github.event.label.name == 'M: Needs Reproduction'
uses: actions-cool/issues-helper@v3
with:
actions: 'create-comment'
Expand Down

0 comments on commit 844eeca

Please sign in to comment.