Welcome to mirror list, hosted at ThFree Co, Russian Federation.

stale.yml « workflows « .github - github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 783f1419678fead5a0028d8039e55ad47e268501 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Mark stale issues

on:
  schedule:
  - cron: '0 * * * *'
  workflow_dispatch:

jobs:
  stale:

    runs-on: ubuntu-latest
    permissions:
      issues: write

    steps:
    - uses: actions/stale@v4
      with:
        repo-token: ${{ secrets.GITHUB_TOKEN }}
        days-before-stale: 30
        days-before-close: 5
        stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Please comment or update this issue or it will be closed in 5 days.'
        stale-issue-label: 'stale'
        exempt-issue-labels: 'Internal, Fixed in next release, Bug: Confirmed, Documentation Needed'
        exempt-all-issue-assignees: true
        operations-per-run: 300