name: 'Stale issue handler' on: workflow_dispatch: schedule: - cron: '30 1 * * *' permissions: issues: write pull-requests: write jobs: stale: runs-on: ubuntu-latest steps: - uses: actions/stale@v5 id: stale with: stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days' days-before-stale: 60 days-before-close: 7 stale-issue-label: stale stale-pr-label: stale exempt-issue-labels: 'blocked,must,should,keep' - name: Print outputs run: echo ${{ join(steps.stale.outputs.*, ',') }}