-
Notifications
You must be signed in to change notification settings - Fork 24
38 lines (36 loc) · 1.33 KB
/
sprint_start.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
name: sprint start
on:
schedule:
- cron: "0 10 * * 0" # 6pm every sun
jobs:
generate_burndown_chart:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install
run: npm ci
- name: Generate burndown chart
uses: ./
with:
NOTION_KEY: ${{ secrets.NOTION_KEY }}
NOTION_DB_BACKLOG: 231c684795fd49aeb387e41110c2af83
NOTION_DB_SPRINT_SUMMARY: f762582562d34d6e8e2e4b89050c09be
NOTION_DB_DAILY_SUMMARY: ef4f661300064ee48a907a3d1348767b
NOTION_PROPERTY_SPRINT: Sprint
NOTION_PROPERTY_ESTIMATE: Estimate
NOTION_PROPERTY_PATTERN_STATUS_EXCLUDE: Completed|Released
SPRINT_START: true
- name: Commit burndown chart
continue-on-error: true # not every run is at sprint start, so there may not be a chart
run: |
git config --local user.email "[email protected]"
git config --local user.name "szenius"
git add ./out
git commit -m "run: upload new burndown chart (sprint start)"
- name: Push changes
continue-on-error: true # not every run is at sprint start, so there may not be a chart
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GH_TOKEN }}
force: true