[GH-Actions][stale] Use milkmaker

master
Peter 2021-10-15 20:32:39 +02:00
parent 37bc63f4b6
commit aa8d44f91e
No known key found for this signature in database
GPG Key ID: A40EE5665510C9D5
1 changed files with 4 additions and 4 deletions

View File

@ -2,9 +2,9 @@ name: 'Close stale issues and PRs'
on: on:
schedule: schedule:
# Once every day at midnight UTC # Once every day at midnight UTC
- cron: "0 0 * * *" - cron: "0 0 * * *"
workflow_dispatch: # Allow to run workflow manually workflow_dispatch: # Allow to run workflow manually
issue_comment: # Run workflow on comments issue_comment: # Run workflow on comments
jobs: jobs:
stale: stale:
@ -16,7 +16,7 @@ jobs:
- name: Mark/Close Stale Issues and Pull Requests 🗑️ - name: Mark/Close Stale Issues and Pull Requests 🗑️
uses: actions/stale@v4 uses: actions/stale@v4
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.STALE_ACTION_PAT }}
days-before-stale: 60 days-before-stale: 60
days-before-close: 7 days-before-close: 7
stale-issue-message: > stale-issue-message: >
@ -32,4 +32,4 @@ jobs:
operations-per-run: "250" operations-per-run: "250"
ascending: "true" ascending: "true"
#DRY-RUN #DRY-RUN
debug-only: "false" debug-only: "false"