weblate/.github/workflows/pr-stale.yml
2026-03-16 13:29:02 +01:00

41 lines
1,018 B
YAML
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@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.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!