forked from dynamoose/dynamoose
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 1.26 KB
/
cron.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
name: Cron
on:
schedule:
- cron: "5 0 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 3 days.'
stale-issue-label: 'status:stale'
exempt-issue-labels: 'status:not-stale,status:todo,status:triage,type:discussion'
stale-pr-message: 'This pull request is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 3 days.'
stale-pr-label: 'status:stale'
exempt-pr-labels: 'status:not-stale,status:todo,status:triage,type:discussion'
days-before-stale: 7
days-before-close: 3
nightly-merge:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Nightly Merge
uses: robotology/[email protected]
with:
stable_branch: 'master'
development_branch: 'v3'
allow_ff: true
user_name: 'GitHub Actions'
user_email: '[email protected]'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}