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

stale.yml « workflows « .github - github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 776b467f91dbe91ab9867d00a1ecd03fea219f21 (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
26
27
28
# synced from @nextcloud/android-config
name: 'Close stale issues'
on:
  schedule:
    - cron: '0 0 * * *'

# Declare default permissions as read only.
permissions: read-all

jobs:
  stale:
    runs-on: ubuntu-latest
    permissions:
      issues: write
      pull-requests: write
    steps:
      - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
        with:
          days-before-stale: 28
          days-before-close: 14
          days-before-pr-close: -1
          only-labels: 'bug,needs info'
          exempt-issue-labels: 'no-stale'
          stale-issue-message: >-
            This bug report did not receive an update in the last 4 weeks.
            Please take a look again and update the issue with new details,
            otherwise the issue will be automatically closed in 2 weeks. Thank you!
          exempt-all-pr-milestones: true