mirror of
https://github.com/EbookFoundation/free-programming-books.git
synced 2026-05-31 12:45:47 +00:00
Bumps [actions/stale](https://github.com/actions/stale) from 9 to 10. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/v9...v10) --- updated-dependencies: - dependency-name: actions/stale dependency-version: '10' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
46 lines
1.8 KiB
YAML
46 lines
1.8 KiB
YAML
name: 'Stale handler'
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * *' # Run every day at midnight
|
|
workflow_dispatch:
|
|
inputs:
|
|
debug-only:
|
|
type: boolean
|
|
description: "Does a dry-run when enabled. No PR's will be altered"
|
|
required: true
|
|
default: true
|
|
|
|
permissions:
|
|
pull-requests: write
|
|
actions: write
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/stale@v10
|
|
with:
|
|
days-before-issue-stale: -1 # Don't mark issues as stale
|
|
days-before-issue-close: -1 # Don't close issues
|
|
stale-pr-message: |
|
|
'This Pull Request has been automatically marked as stale because it has not had recent activity during last 60 days :sleeping:
|
|
|
|
It will be closed in 30 days if no further activity occurs. To unstale this PR, draft it, remove stale label, comment with a detailed explanation or push more commits.
|
|
|
|
There can be many reasons why some specific PR has no activity. The most probable cause is lack of time, not lack of interest.
|
|
|
|
Thank you for your patience :heart:'
|
|
close-pr-message: |
|
|
This Pull Request has been automatically closed because it has been inactive during the last 30 days since being marked as stale.
|
|
|
|
As author or maintainer, it can always be reopened if you see that carry on been useful.
|
|
|
|
Anyway, thank you for your interest in contribute :heart:
|
|
days-before-pr-stale: 60
|
|
days-before-pr-close: 30
|
|
stale-pr-label: 'stale'
|
|
exempt-pr-labels: 'keep' # Don't mark PR's with this label as stale
|
|
labels-to-remove-when-unstale: 'stale'
|
|
exempt-draft-pr: true
|
|
debug-only: ${{ github.event.inputs.debug-only == 'true' }}
|
|
enable-statistics: true
|