Skip to content
This repository was archived by the owner on Sep 28, 2021. It is now read-only.

Commit 922abd6

Browse files
committed
dogfood
1 parent f7966d5 commit 922abd6

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/milestones.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
on:
2+
schedule:
3+
# Cron syntax has five fields separated by a space, and each field represents a unit of time.
4+
#
5+
# ┌───────────── minute (0 - 59)
6+
# │ ┌───────────── hour (0 - 23)
7+
# │ │ ┌───────────── day of the month (1 - 31)
8+
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
9+
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
10+
# │ │ │ │ │
11+
# │ │ │ │ │
12+
# │ │ │ │ │
13+
# * * * * *
14+
# * is a special character in YAML so you have to quote this string
15+
- cron: '0 0 * * SUN' # midnight every Sunday
16+
17+
jobs:
18+
milestones:
19+
runs-on: ubuntu-latest
20+
name: Create Milestones on a schedule
21+
steps:
22+
- name: Create Milestones
23+
uses: MrGossett/github-action-milestone-schedule@v1
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
with:
27+
recurrence: 'FREQ=WEEKLY;BYDAY=FR;DTSTART=20191213T220000Z'
28+
format: 'Done 06-Jan-02'
29+
count: 4

0 commit comments

Comments
 (0)