File: stale_bot.yml

package info (click to toggle)
ndcube 2.3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,012 kB
  • sloc: python: 7,838; makefile: 34
file content (40 lines) | stat: -rw-r--r-- 1,815 bytes parent folder | download | duplicates (2)
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
29
30
31
32
33
34
35
36
37
38
39
40
name: Stale Bot

on:
  schedule:
#            ┌───────── minute (0 - 59)
#            │ ┌───────── hour (0 - 23)
#            │ │ ┌───────── day of the month (1 - 31)
#            │ │ │ ┌───────── month (1 - 12 or JAN-DEC)
#            │ │ │ │ ┌───────── day of the week (0 - 6 or SUN-SAT)
    - cron: '0 5 * * *' # Every day at 05:00 UTC

jobs:
  stale:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/stale@v3
      with:
        repo-token: ${{ secrets.GITHUB_TOKEN }}
        operations-per-run: 50
        days-before-issue-stale: 99999999 # Never mark issues as stale
        days-before-pr-stale: 150
        days-before-close: 30
        stale-pr-label: 'Stale'
        stale-pr-message: >-
          Hello :wave:,
          Thanks for your contribution to ndcube!

          I have marked this pull request as stale because there hasn't had any activity in five months.
          If you are still working on this, or if it's waiting on a maintainer to look at it then please let us know and we will keep it open.
          Please add a comment with: @sunpy/ndcube-developers to get someone's attention.

          If nobody comments on this pull request for another month, it will be closed.
        close-pr-message: >-
          Hello again :wave:,
          We want to thank you again for your contribution to ndcube!

          This pull request has had no activity since my last reminder, so I am going to close it.
          If at any time you want to come back to this please feel free to reopen it!
          If you want to discuss this, please add a comment with: @sunpy/ndcube-developers and someone will get back to you soon.
        exempt-pr-labels:  'Keep Open'