Skip to content

Mark stale issues

Mark stale issues #64

Workflow file for this run

# Marks and closes inactive (stale) issues
# Runs: every 10 minutes from 00:00 to 05:59
name: Mark stale issues
on:
schedule:
# Every 20 minutes from 00:00 to 05:59
- cron: "*/20 0-5 * * *"
workflow_dispatch:
inputs:
debug-only:
description: "Dry run (no changes, logs only)"
required: false
default: false
type: boolean
days-before-stale:
description: "Days of inactivity before marking as stale"
required: false
default: "547"
type: string
days-before-close:
description: "Days after stale warning before closing"
required: false
default: "30"
type: string
operations-per-run:
description: "Maximum GitHub API operations per run (optional; default 1000 if
omitted)"
required: false
type: string
permissions:
actions: write
issues: write
contents: read
jobs:
stale:
name: Mark and close stale issues
runs-on: ubuntu-latest
steps:
- name: Run stale issues action
uses: PrestaShop/.github/.github/actions/stale@master
with:
days-before-stale: ${{ github.event.inputs.days-before-stale || '547' }}
days-before-close: ${{ github.event.inputs.days-before-close || '30' }}
operations-per-run: ${{ github.event.inputs.operations-per-run || '1000' }}
exempt-issue-labels: "Critical, Security, Major, Good first issue, EPIC,
Topwatchers, Blocked, Must-have, Waiting for dev, Waiting for QA,
Waiting for QA by Community, Waiting for PM, Waiting for UX, Waiting
for rebase, Waiting for wording, Release, Detected by TE, 9.1.x"
debug-only: ${{ github.event.inputs.debug-only || 'false' }}