-
Notifications
You must be signed in to change notification settings - Fork 24
35 lines (33 loc) · 1.09 KB
/
sprint_daily.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
name: sprint daily
on:
schedule:
- cron: "0 0 * * *" # 8am daily
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
- name: Commit burndown 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"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GH_TOKEN }}
force: true