This repository has been archived by the owner on Nov 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (49 loc) · 1.95 KB
/
daily.yml
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
41
42
43
44
45
46
47
48
49
50
51
52
# This workflow is scheduled once a day
name: Daily
on:
schedule:
- cron: 0 0 * * *
workflow_dispatch: # This allows manual triggering from the GitHub UI
# Cancel previous instances of this workflow
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref || github.run_id }}
cancel-in-progress: true
jobs:
cron_reaction:
name: Reaction Remover
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Right Back Where We Started From
uses: dessant/[email protected]
cron_lock:
name: Thread Locker
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Eye of The Tiger # Prevent "necrobumps"
uses: dessant/[email protected]
with:
issue-inactive-days: 7
exclude-any-issue-labels: dependencies
add-issue-labels: lock
pr-inactive-days: 7
add-pr-labels: lock
cron_stale:
name: Stale
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Keep the Faith
uses: actions/[email protected]
id: stale
with:
days-before-stale: 30
days-before-pr-stale: 7
days-before-close: 7
stale-issue-message: This issue is stale because it has been open for 30 days with no activity. Remove the stale label or comment, else this will be closed automatically in 7 days.
stale-pr-message: This PR is stale because it has been open for 7 days with no activity. Remove the stale label or comment, else this will be closed automatically in 7 days.
stale-issue-label: stale
stale-pr-label: stale
exempt-issue-labels: neverstale,dependencies
exempt-pr-labels: neverstale,dependencies