Skip to content

Commit 3fb0685

Browse files
authored
build: add GitHub Actions workflow to schedule milestones weekly
Signed-off-by: Tamim Hamoudi <[email protected]>
1 parent 65a28b1 commit 3fb0685

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: schedule-milestones
2+
3+
on:
4+
schedule:
5+
- cron: 0 0 * * SUN # Run every Sunday at midnight
6+
7+
jobs:
8+
generate:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
13+
- name: Schedule Milestones
14+
uses: readmeio/[email protected]
15+
id: scheduled
16+
with:
17+
token: ${{ secrets.GITHUB_TOKEN }}
18+
title: 'S-'
19+
days: Thursday
20+
count: 4
21+
format: YYYY-MM-DD
22+
23+
- name: Created Milestones
24+
run: echo ${{ steps.scheduled.outputs.milestones }}

0 commit comments

Comments
 (0)