Files
docs/.github/workflows/stale_pr.yml
T
dependabot[bot] cf15b3c663 Bump the github_action-dependencies group with 2 updates
Bumps the github_action-dependencies group with 2 updates: [calibreapp/image-actions](https://github.com/calibreapp/image-actions) and [actions/stale](https://github.com/actions/stale).


Updates `calibreapp/image-actions` from 1.4.1 to 1.5.0
- [Release notes](https://github.com/calibreapp/image-actions/releases)
- [Commits](https://github.com/calibreapp/image-actions/compare/f32575787d333b0579f0b7d506ff03be63a669d1...9d037c06280028c110ff61c433ad4dc7d33c3c43)

Updates `actions/stale` from 10.2.0 to 10.3.0
- [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/b5d41d4e1d5dceea10e7104786b73624c18a190f...eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899)

---
updated-dependencies:
- dependency-name: calibreapp/image-actions
  dependency-version: 1.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github_action-dependencies
- dependency-name: actions/stale
  dependency-version: 10.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github_action-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-23 10:02:44 +00:00

35 lines
1.2 KiB
YAML

name: Close stale PR
# This action will add a `stale` label and close immediately every PR that meets the following conditions:
# - it is already marked with "merge conflict" label
# - there was no update/comment on the PR in the last 30 days.
on:
schedule:
- cron: "0 10 * * *"
workflow_dispatch:
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 #v10.3.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Do not automatically mark PR/issue as stale
days-before-stale: -1
# Override 'days-before-stale' for PR only
days-before-pr-stale: 30
# Close PRs immediately, after marking them 'stale'
days-before-pr-close: 0
# only run the action on merge conflict PR
any-of-labels: "Merge Conflict"
exempt-pr-labels: "Internal, Never Stale, On Hold, WIP"
exempt-all-pr-assignees: true
operations-per-run: 300
stale-pr-message: ""
close-pr-message: "Existing merge conflicts have not been addressed. This PR is considered abandoned."