weblate/.github/workflows/pr-stale.yml
renovate[bot] e495c099d8
chore(deps): update actions/stale action to v10.4.0 (#20580)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-10 06:32:53 +00:00

41 lines
1,018 B
YAML
Vendored
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Copyright © Michal Čihař <michal@weblate.org>
#
# SPDX-License-Identifier: CC0-1.0
name: Close stale pull requests
on:
schedule:
- cron: 30 1 * * *
push:
branches:
- main
paths:
- .github/workflows/pr-stale.yml
permissions:
contents: read
jobs:
stale-prs:
runs-on: ubuntu-slim
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@1e223db275d687790206a7acac4d1a11bd6fe629 # v10.4.0
with:
days-before-pr-stale: 30
days-before-pr-close: 14
days-before-issue-stale: -1
days-before-issue-close: -1
exempt-pr-labels: backlog
stale-pr-label: wontfix
repo-token: ${{ secrets.GITHUB_TOKEN }} # zizmor: ignore[secrets-outside-env]
stale-pr-message: |
This pull request has been automatically marked as stale because there wasnt any recent activity.
It will be closed soon if no further action occurs.
Thank you for your contributions!