Combined GitHub Tasks (5-minute schedule) #23412
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 | |
| - run: bun app/tasks/run-gh-tasks.ts | |
| timeout-minutes: 10 # Individual timeout for the script | |
| env: | |
| # 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 }} |