scripts/.github/workflows/stale.yml
2023-01-10 11:25:19 +01:00

50 lines
1.3 KiB
YAML
Raw 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
# This file is maintained in https://github.com/WeblateOrg/meta/
name: Close stale
on:
schedule:
- cron: 30 1 * * *
push:
branches:
- main
paths:
- .github/workflows/stale.yml
workflow_dispatch:
permissions:
contents: read
jobs:
stale-issues:
runs-on: ubuntu-22.04
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v7
with:
days-before-pr-stale: 30
days-before-pr-close: 14
days-before-stale: 10
days-before-close: 4
exempt-issue-labels: bug,enhancement,documentation,security
stale-issue-label: wontfix
stale-pr-label: wontfix
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: |
This issue 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!
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!