Only configure with workflow_dispatch

This commit is contained in:
Batuhan Taskaya 2021-12-16 12:11:12 +03:00
parent e4b2751a52
commit 43462f8af0

View File

@ -1,9 +1,6 @@
name: Mark stale pull requests
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch
on: workflow_dispatch
permissions:
pull-requests: write
@ -21,9 +18,9 @@ jobs:
days-before-stale: -1
days-before-issue-stale: -1
days-before-pr-stale: 30
days-before-pr-stale: 21
days-before-close: -1
days-before-issue-close: -1
days-before-pr-close: 7
days-before-pr-close: 0
debug-only: true