File tree Expand file tree Collapse file tree 8 files changed +25
-25
lines changed Expand file tree Collapse file tree 8 files changed +25
-25
lines changed Original file line number Diff line number Diff line change 30
30
ssh-private-key : ${{ secrets.SSH_PRIVATE_KEY }}
31
31
# Setup Bun
32
32
- run : pip install setuptools
33
- - uses : oven-sh/setup-bun@v1
33
+ - uses : oven-sh/setup-bun@v2
34
34
# Run Comfy-PR Worker
35
35
- run : bun i
36
36
- run : bun src/index.ts
44
44
SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
45
45
AUTH_GOOGLE_ID : ${{ secrets.AUTH_GOOGLE_ID }}
46
46
AUTH_GOOGLE_SECRET : ${{ secrets.AUTH_GOOGLE_SECRET }}
47
- AUTH_GCLOUD_URL : https://comfy-pr.vercel.app
47
+ AUTH_GCLOUD_URL : https://comfy-pr.vercel.app
Original file line number Diff line number Diff line change 19
19
timeout-minutes : 10
20
20
steps :
21
21
- uses : actions/checkout@v4
22
- - uses : oven-sh/setup-bun@v1
22
+ - uses : oven-sh/setup-bun@v2
23
23
24
24
# Install dependencies
25
25
- run : bun i
Original file line number Diff line number Diff line change 4
4
workflow_dispatch :
5
5
inputs :
6
6
repo_url :
7
- description : ' Comfy CustomNode Repo to setup ./pyproject.toml + .github/workflow/publish.yaml'
7
+ description : " Comfy CustomNode Repo to setup ./pyproject.toml + .github/workflow/publish.yaml"
8
8
required : true
9
9
type : string
10
10
default : " https://github.com/snomiao/ComfyNode-Registry-test"
27
27
ssh-private-key : ${{ secrets.SSH_PRIVATE_KEY }}
28
28
# Setup Bun
29
29
- run : pip install setuptools
30
- - uses : oven-sh/setup-bun@v1
30
+ - uses : oven-sh/setup-bun@v2
31
31
# Run Comfy-PR Worker
32
32
- run : bun i
33
33
- run : bun src/createComfyRegistryPullRequests.ts ${{ inputs.repo_url }}
41
41
SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
42
42
AUTH_GOOGLE_ID : ${{ secrets.AUTH_GOOGLE_ID }}
43
43
AUTH_GOOGLE_SECRET : ${{ secrets.AUTH_GOOGLE_SECRET }}
44
- AUTH_GCLOUD_URL : https://comfy-pr.vercel.app
44
+ AUTH_GCLOUD_URL : https://comfy-pr.vercel.app
Original file line number Diff line number Diff line change 22
22
jobs :
23
23
run_combined_github_tasks :
24
24
runs-on : ubuntu-latest
25
- timeout-minutes : 15 # Allow some extra time for all tasks
25
+ timeout-minutes : 15 # Allow some extra time for all tasks
26
26
steps :
27
27
- uses : actions/checkout@v4
28
- - uses : oven-sh/setup-bun@v1
29
-
28
+ - uses : oven-sh/setup-bun@v2
29
+
30
30
# Install dependencies
31
31
- run : bun i
32
-
32
+
33
33
# Run all combined GitHub tasks
34
34
- run : bun app/tasks/run-gh-tasks.ts
35
- timeout-minutes : 10 # Individual timeout for the script
35
+ timeout-minutes : 10 # Individual timeout for the script
36
36
env :
37
37
# Bounty task environment variables
38
38
AUTH_GCLOUD_URL : https://comfy-pr.vercel.app
41
41
COMFY_PR_REPO : ${{ secrets.COMFY_PR_REPO }}
42
42
FORK_OWNER : " ComfyNodePRs"
43
43
FORK_PREFIX : " PR-"
44
-
44
+
45
45
# Common environment variables for all tasks
46
46
GH_TOKEN_COMFY_PR : ${{ secrets.GH_TOKEN_COMFY_PR_BOT }}
47
47
MONGODB_URI : ${{ secrets.MONGODB_URI }}
Original file line number Diff line number Diff line change @@ -16,17 +16,17 @@ jobs:
16
16
timeout-minutes : 120 # 2 hours timeout
17
17
steps :
18
18
- uses : actions/checkout@v4
19
-
19
+
20
20
# Setup Git (required for cloning repositories)
21
21
- name : Configure Git
22
22
run : |
23
23
git config --global user.name "GitHub Action"
24
24
git config --global user.email "[email protected] "
25
25
git --version
26
-
26
+
27
27
# Setup Bun
28
- - uses : oven-sh/setup-bun@v1
29
-
28
+ - uses : oven-sh/setup-bun@v2
29
+
30
30
# Install dependencies
31
31
- name : Install dependencies
32
32
run : bun install
@@ -38,22 +38,22 @@ jobs:
38
38
MONGODB_URI : ${{ secrets.MONGODB_URI }}
39
39
GH_TOKEN_COMFY_PR : ${{ secrets.GH_TOKEN_COMFY_PR }}
40
40
timeout-minutes : 100
41
-
41
+
42
42
# run summaryGithubContributorAnalyzeTask
43
43
- name : Run summary task
44
44
run : bun run app/tasks/github-contributor-analyze/summaryGithubContributorAnalyzeTask.ts
45
45
env :
46
46
MONGODB_URI : ${{ secrets.MONGODB_URI }}
47
47
GH_TOKEN_COMFY_PR : ${{ secrets.GH_TOKEN_COMFY_PR }}
48
48
timeout-minutes : 20
49
-
49
+
50
50
# Optional: Generate and upload analysis report
51
51
- name : Generate analysis report
52
52
if : always()
53
53
run : |
54
54
echo "Contributor analysis completed at $(date)" > analysis-report.txt
55
55
echo "Workflow run: ${{ github.run_id }}" >> analysis-report.txt
56
-
56
+
57
57
# Optional: Upload artifacts
58
58
- name : Upload analysis artifacts
59
59
if : always()
Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ jobs:
23
23
ssh-private-key : ${{ secrets.SSH_PRIVATE_KEY }}
24
24
# Setup Bun
25
25
- run : pip install setuptools
26
- - uses : oven-sh/setup-bun@v1
26
+ - uses : oven-sh/setup-bun@v2
27
27
# setup test db
28
28
- run : docker compose -f docker-compose.test.yml up comfy-pr-db -d
29
29
# setup comfy-pr
30
30
# Run Comfy-PR Tests
31
31
- run : bun i
32
32
- run : bun test
33
33
# shutdown test-db
34
- # - run: docker compose -f docker-compose.test.yml down comfy-pr-db
34
+ # - run: docker compose -f docker-compose.test.yml down comfy-pr-db
Original file line number Diff line number Diff line change 30
30
ssh-private-key : ${{ secrets.SSH_PRIVATE_KEY }}
31
31
# Setup Bun
32
32
# - run: pip install setuptools
33
- - uses : oven-sh/setup-bun@v1
33
+ - uses : oven-sh/setup-bun@v2
34
34
# Run Comfy-PR Worker
35
35
- run : bun i
36
36
- run : bun src/GithubActionUpdateTask/updateGithubActionTaskList.ts
45
45
MONGODB_URI : ${{ secrets.MONGODB_URI }}
46
46
OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
47
47
SLACK_BOT_CHANNEL : ${{ secrets.SLACK_BOT_CHANNEL }}
48
- SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
48
+ SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
Original file line number Diff line number Diff line change 27
27
ssh-private-key : ${{ secrets.SSH_PRIVATE_KEY }}
28
28
# Setup Bun
29
29
- run : pip install setuptools
30
- - uses : oven-sh/setup-bun@v1
30
+ - uses : oven-sh/setup-bun@v2
31
31
# Run Comfy-PR Worker
32
32
- run : bun i
33
33
- run : bun src/updateOutdatedPullsTemplates.ts
41
41
SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
42
42
AUTH_GOOGLE_ID : ${{ secrets.AUTH_GOOGLE_ID }}
43
43
AUTH_GOOGLE_SECRET : ${{ secrets.AUTH_GOOGLE_SECRET }}
44
- AUTH_GCLOUD_URL : https://comfy-pr.vercel.app
44
+ AUTH_GCLOUD_URL : https://comfy-pr.vercel.app
You can’t perform that action at this time.
0 commit comments