mirror of
https://github.com/IAmParadox27/jellyfin-plugin-media-bar.git
synced 2026-11-05 15:42:48 +01:00
34 lines
1.3 KiB
YAML
34 lines
1.3 KiB
YAML
# 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
|