-
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (35 loc) · 1.22 KB
/
stale.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
name: Sync labels
permissions:
issues: write
pull-requests: write
on:
push:
branches:
- main
paths:
- .github/workflows/stale.yml
schedule:
# Checkout for updates daily at midnight
- cron: '0 0 * * *'
workflow_dispatch:
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
stale:
runs-on: ubuntu-20.04
steps:
- name: Sync Labels
uses: actions/stale@3cc123766321e9f15a6676375c154ccffb12a358 # tag=v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
stale-issue-message: |
> **Warning**
This issue is stale because it has been open for 60 days with no activity. 💤
Either remove the `stale` label or leave a comment else this issue will be closed in 7 days.
stale-pr-message: |
> **Warning**
This pull request is stale because it has been open for 60 days with no activity. 💤
Either remove the `stale` label, leave a comment or push a commit else this pull request will be closed in 7 days.
close-issue-message: 'This issue was closed because it has been stale for 67 days with no activity.'