Repository navigation
Kaapi Weekly Update #24
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: Kaapi Weekly Update | |
| on: | |
| schedule: | |
| # Mon & Fri 9 AM IST = 3:30 AM UTC (1 hour before 10 AM standup) | |
| - cron: "30 0 * * 1,5" | |
| workflow_dispatch: | |
| inputs: | |
| dry_run: | |
| description: "Dry run (print payload, don't post)" | |
| required: false | |
| default: "false" | |
| type: choice | |
| options: | |
| - "false" | |
| - "true" | |
| jobs: | |
| post-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - run: pip install -r requirements.txt | |
| - run: | | |
| if [ "${{ github.event.inputs.dry_run }}" = "true" ]; then | |
| python kaapi_weekly_update.py --dry-run | |
| else | |
| python kaapi_weekly_update.py | |
| fi | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.PROJECTS_READ_TOKEN }} | |
| ORG: ${{ secrets.ORG }} | |
| PROJECT_NUMBER: ${{ secrets.PROJECT_NUMBER }} | |
| KAAPI_DISCORD_WEBHOOK: ${{ secrets.KAAPI_DISCORD_WEBHOOK }} |