Standup Compile #30
This file contains hidden or 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: Standup Compile | |
| on: | |
| schedule: | |
| # Tuesday 06:00 UTC = Tuesday 14:00 Taipei (before the meeting) | |
| - cron: "0 6 * * 2" | |
| workflow_dispatch: | |
| jobs: | |
| compile: | |
| runs-on: ubuntu-26.04 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - run: pip install requests pyyaml | |
| - name: Mint bot token | |
| id: bot-token | |
| uses: actions/create-github-app-token@v2 | |
| with: | |
| app-id: ${{ vars.BOT_APP_ID }} | |
| private-key: ${{ secrets.BOT_APP_PRIVATE_KEY }} | |
| - run: python .github/scripts/compile_standup.py | |
| env: | |
| GITHUB_REPOSITORY: ${{ github.repository }} | |
| STANDUP_TOKEN: ${{ steps.bot-token.outputs.token }} | |
| BOT_LOGIN: ${{ steps.bot-token.outputs.app-slug }} |