Combined GitHub Tasks (5-minute schedule) #29105
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: "Combined GitHub Tasks (5-minute schedule)" | |
| on: | |
| schedule: | |
| # Runs every 5 minutes | |
| - cron: "*/5 * * * *" | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - ".github/workflows/gh-combined-tasks.yaml" | |
| - "app/tasks/run-gh-tasks.ts" | |
| - "app/tasks/gh-bounty/**" | |
| - "app/tasks/gh-design/**" | |
| - "app/tasks/gh-desktop-release-notification/**" | |
| - "app/tasks/gh-core-tag-notification/**" | |
| - "app/tasks/gh-bugcop/**" | |
| - "app/tasks/gh-issue-transfer-*/**" | |
| - "app/tasks/gh-priority-sync/**" | |
| jobs: | |
| run_combined_github_tasks: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 # Allow some extra time for all tasks | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| # Install dependencies | |
| - run: bun i | |
| # Run all combined GitHub tasks (dry run on PRs to avoid side effects) | |
| - run: bun app/tasks/run-gh-tasks.ts | |
| timeout-minutes: 10 # Individual timeout for the script | |
| env: | |
| DRY_RUN: ${{ github.event_name == 'pull_request' && 'true' || 'false' }} | |
| # DRY_RUN defaults to true in run-gh-tasks.ts; set false only for schedule/dispatch | |
| # Bounty task environment variables | |
| AUTH_GCLOUD_URL: https://comfy-pr.vercel.app | |
| AUTH_GOOGLE_ID: ${{ secrets.AUTH_GOOGLE_ID }} | |
| AUTH_GOOGLE_SECRET: ${{ secrets.AUTH_GOOGLE_SECRET }} | |
| COMFY_PR_REPO: ${{ secrets.COMFY_PR_REPO }} | |
| FORK_OWNER: "ComfyNodePRs" | |
| FORK_PREFIX: "PR-" | |
| # DB, Integrations | |
| MONGODB_URI: ${{ secrets.MONGODB_URI }} | |
| GH_TOKEN_COMFY_PR: ${{ secrets.GH_TOKEN_COMFY_PR_BOT }} | |
| GH_TOKEN_COMFY_PR_BOT: ${{ secrets.GH_TOKEN_COMFY_PR_BOT }} | |
| OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
| SLACK_BOT_CHANNEL: ${{ secrets.SLACK_BOT_CHANNEL }} | |
| SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} | |
| NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }} |