[GH-Actions][stale] Upgrade to v4 and run workflow on comments too
parent
dd5bc26b26
commit
655f40cb55
|
@ -3,7 +3,8 @@ on:
|
||||||
schedule:
|
schedule:
|
||||||
# Once every day at midnight UTC
|
# Once every day at midnight UTC
|
||||||
- cron: "0 0 * * *"
|
- cron: "0 0 * * *"
|
||||||
workflow_dispatch:
|
workflow_dispatch: # Allow to run workflow manually
|
||||||
|
issue_comment: # Run workflow on comments
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
|
@ -13,7 +14,7 @@ jobs:
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- name: Mark/Close Stale Issues and Pull Requests 🗑️
|
- name: Mark/Close Stale Issues and Pull Requests 🗑️
|
||||||
uses: actions/stale@v3
|
uses: actions/stale@v4
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
days-before-stale: 60
|
days-before-stale: 60
|
||||||
|
|
Loading…
Reference in New Issue