Skip to content

Commit

Permalink
Update stale.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnyP36 authored Jan 19, 2024
1 parent 6b6f131 commit 7d40d9e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: 'Close Stale Issues'
on:
issues:
types: [edited, pinned, unpinned, reopened]
issue_comment:
pull_request:
types: [edited, reopened, synchronize, convert_to_draft, ready_for_review]
workflow_dispatch:
schedule:
- cron: '59 23 1/16 * *'
Expand All @@ -10,6 +15,10 @@ permissions:

jobs:
stale:
if: |
contains(github.event.pull_request.labels.*.name, 'stale') ||
contains(github.event.issue.labels.*.name, 'stale') ||
${{ github.event_name == 'schedule' }}
runs-on: ubuntu-latest
steps:
- uses: actions/stale@main
Expand Down

0 comments on commit 7d40d9e

Please sign in to comment.