Remove debug mode and run twice a week

Signed-off-by: Joana Hrotko <joana.hrotko@docker.com>
This commit is contained in:
Joana Hrotko 2024-07-08 14:15:10 +01:00 committed by Guillaume Lours
parent 14793cc2e4
commit ecac13f272
1 changed files with 2 additions and 10 deletions

View File

@ -1,14 +1,7 @@
name: 'Close stale issues' name: 'Close stale issues'
on: on:
# schedule: schedule:
# - cron: '0 0 * * *' # at midnight UTC every day - cron: '0 0 * * 0,3' # at midnight UTC every Sunday and Tuesday
pull_request:
workflow_dispatch:
inputs:
debug_enabled:
description: 'To run in debug mode'
required: false
default: "true"
jobs: jobs:
stale: stale:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -19,7 +12,6 @@ jobs:
- uses: actions/stale@v9 - uses: actions/stale@v9
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
debug-only: ${{ github.event.inputs.debug_enabled }}
stale-issue-message: > stale-issue-message: >
This issue has been automatically marked as stale because it has not had This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you recent activity. It will be closed if no further activity occurs. Thank you