mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-04-27 01:12:26 +08:00
41 lines
1,018 B
YAML
41 lines
1,018 B
YAML
# 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 wasn’t any recent activity.
|
||
|
||
It will be closed soon if no further action occurs.
|
||
|
||
Thank you for your contributions!
|