sprint start #82
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |