Files
jellyfin-plugin-media-bar/.github/workflows/stale.yml
T
2025-03-25 22:45:17 +05:30

34 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.
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests
on:
schedule:
- cron: '20 7 * * *' # Runs daily at 07:20 UTC
workflow_dispatch: # Allows manual trigger
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 30 # Mark stale after 30 days of inactivity
days-before-close: 7 # Close 7 days after marking stale
stale-issue-message: 'This issue has been marked as stale due to inactivity. It will be closed in 7 days unless there is activity.'
stale-pr-message: 'This pull request has been marked as stale due to inactivity. It will be closed in 7 days unless there is activity.'
stale-issue-label: 'stale'
stale-pr-label: 'stale'
exempt-issue-labels: 'pinned,security' # Issues with these labels won't be marked stale
exempt-pr-labels: 'work-in-progress' # PRs with this label won’t be marked stale
remove-stale-when-updated: true # Remove stale label if there's activity