Skip to content

Commit a098387

Browse files
committed
šŸ€ Adjust to reuse the workflows from GitHub repo *Chisanan232/Template-Python-UV-Project* master branch.
1 parent 293e884 commit a098387

File tree

10 files changed

+104
-46
lines changed

10 files changed

+104
-46
lines changed

ā€Ž.github/workflows/ci.yamlā€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
- ".github/workflows/rw_run_all_test_and_record.yaml"
1717
- ".github/workflows/rw_uv_run_test_with_multi_py_versions.yaml"
1818
# For source code and test
19-
- "clickup_mcp/**/*.py"
19+
- "<your_package_name>/**/*.py"
2020
- "!**/__pkg_info__.py"
2121
- "test/**/*.py"
2222
# For shell script for CI
@@ -45,7 +45,7 @@ on:
4545
- ".github/workflows/rw_run_all_test_and_record.yaml"
4646
- ".github/workflows/rw_uv_run_test_with_multi_py_versions.yaml"
4747
# For source code and test
48-
- "clickup_mcp/**/*.py"
48+
- "<your_package_name>/**/*.py"
4949
- "!**/__pkg_info__.py"
5050
- "test/**/*.py"
5151
# For shell script for CI
@@ -62,7 +62,7 @@ on:
6262
jobs:
6363
build-and-test_all:
6464
# name: Run all tests and organize all test reports
65-
uses: ./.github/workflows/rw_run_all_test_and_record.yaml
65+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_run_all_test_and_record.yaml@master
6666
secrets:
6767
codecov_token: ${{ secrets.CODECOV_TOKEN }}
6868
sonar_token: ${{ secrets.SONAR_TOKEN }}

ā€Ž.github/workflows/ci_includes_e2e_test.yamlā€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
build-and-test_all:
3232
# name: Run all tests and organize all test reports
3333
if: ${{ !contains(github.event.pull_request.labels.*.name, 'dependencies') }}
34-
uses: ./.github/workflows/rw_run_all_test_and_record.yaml
34+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_run_all_test_and_record.yaml@master
3535
with:
3636
run_e2e: true
3737
secrets:
38-
e2e_test_api_token: ${{ secrets.CLICKUP_API_TOKEN }}
38+
e2e_test_api_token: ${{ secrets.<YOUR_E2E_API_TOKEN> }}
3939
codecov_token: ${{ secrets.CODECOV_TOKEN }}
4040
sonar_token: ${{ secrets.SONAR_TOKEN }}

ā€Ž.github/workflows/docker-ci.ymlā€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
# For GitHub Action
99
- ".github/workflows/docker-ci.yml"
1010
# For source code and test
11-
- "clickup_mcp/**/*.py"
11+
- "<your_package_name>/**/*.py"
1212
- "!**/__pkg_info__.py"
1313
# For docker configuration and shell script for running by Docker
1414
- "Dockerfile"
@@ -26,7 +26,7 @@ on:
2626
# For GitHub Action
2727
- ".github/workflows/docker-ci.yml"
2828
# For source code and test
29-
- "clickup_mcp/**/*.py"
29+
- "<your_package_name>/**/*.py"
3030
- "!**/__pkg_info__.py"
3131
# For docker configuration and shell script for running by Docker
3232
- "Dockerfile"
@@ -36,8 +36,8 @@ on:
3636
- "uv.lock"
3737

3838
env:
39-
TEST_TAG: user/clickup-mcp-server:test
40-
TEST_CONTAINER_NAME: clickup-mcp-server
39+
TEST_TAG: user/<your_project_name>:test
40+
TEST_CONTAINER_NAME: <your_project_name>
4141

4242
jobs:
4343
image-check:
@@ -77,7 +77,7 @@ jobs:
7777

7878
- name: Test
7979
run: |
80-
docker run -e API_TOKEN=${{ secrets.CLICKUP_API_TOKEN }} -d --rm --name ${{ env.TEST_CONTAINER_NAME }} ${{ env.TEST_TAG }}
80+
docker run -e API_TOKEN=${{ secrets.<YOUR_API_TOKEN_SECRET> }} -d --rm --name ${{ env.TEST_CONTAINER_NAME }} ${{ env.TEST_TAG }}
8181
echo "Waiting for the server to start..."
8282
sleep 5
8383
docker logs ${{ env.TEST_CONTAINER_NAME }}

ā€Ž.github/workflows/docs-automerge.ymlā€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
token: ${{ secrets.GITHUB_TOKEN }}
2828
filters: |
2929
code:
30-
- 'clickup_mcp/**'
30+
- '<your_package_name>/**'
3131
- 'examples/**'
3232
- 'scripts/**'
3333
- 'test/**'

ā€Ž.github/workflows/release-staging.ymlā€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
echo "RC version: $RC_VERSION"
7474
7575
build_git-tag_and_create_github-release:
76-
uses: ./.github/workflows/rw_build_git-tag_and_create_github-release_v2.yaml
76+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_build_git-tag_and_create_github-release_v2.yaml@master
7777
needs: compute-version
7878
with:
7979
version: ${{ needs.compute-version.outputs.rc_version }}
@@ -83,7 +83,7 @@ jobs:
8383
github_auth_token: ${{ secrets.GITHUB_TOKEN }}
8484

8585
pypi-test:
86-
uses: ./.github/workflows/rw_python_package.yaml
86+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_python_package.yaml@master
8787
needs: [compute-version, build_git-tag_and_create_github-release]
8888
with:
8989
operation: 'publish-testpypi'
@@ -93,7 +93,7 @@ jobs:
9393

9494
dockerhub-rc:
9595
name: Staging Release to DockerHub
96-
uses: ./.github/workflows/rw_docker_operations.yaml
96+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_docker_operations.yaml@master
9797
needs: [compute-version, build_git-tag_and_create_github-release]
9898
secrets:
9999
dockerhub-user: ${{ secrets.DOCKERHUB_USERNAME }}
@@ -110,7 +110,7 @@ jobs:
110110

111111
ghcr-rc:
112112
name: Staging Release to GHCR
113-
uses: ./.github/workflows/rw_docker_operations.yaml
113+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_docker_operations.yaml@master
114114
needs: [compute-version, build_git-tag_and_create_github-release]
115115
with:
116116
operation: 'push'
@@ -123,7 +123,7 @@ jobs:
123123
health-check-path: '/health'
124124

125125
docs-preview:
126-
uses: ./.github/workflows/rw_docs_operations.yaml
126+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_docs_operations.yaml@master
127127
needs: compute-version
128128
with:
129129
operation: 'deploy-preview'

ā€Ž.github/workflows/release-validate.ymlā€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ concurrency:
3737

3838
jobs:
3939
intent-parse:
40-
uses: ./.github/workflows/rw_parse_release_intent.yaml
40+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_parse_release_intent.yaml@master
4141
with:
4242
level: ${{ inputs.level || 'auto' }}
4343
python: 'auto'
@@ -46,7 +46,7 @@ jobs:
4646
notes: 'Validation test run'
4747

4848
build_git-tag_and_create_github-release:
49-
uses: ./.github/workflows/rw_build_git-tag_and_create_github-release_v2.yaml
49+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_build_git-tag_and_create_github-release_v2.yaml@master
5050
needs: intent-parse
5151
with:
5252
version: "1.0.0-validation" # Test version for validation
@@ -55,15 +55,15 @@ jobs:
5555
github_auth_token: ${{ secrets.GITHUB_TOKEN }}
5656

5757
python-build-check:
58-
uses: ./.github/workflows/rw_python_package.yaml
58+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_python_package.yaml@master
5959
needs: build_git-tag_and_create_github-release
6060
with:
6161
operation: 'test'
6262
artifact-name: 'validation-python-package'
6363

6464
docker-build-dockerhub:
6565
name: Validate DockerHub Build
66-
uses: ./.github/workflows/rw_docker_operations.yaml
66+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_docker_operations.yaml@master
6767
needs: build_git-tag_and_create_github-release
6868
with:
6969
operation: 'test'
@@ -76,7 +76,7 @@ jobs:
7676

7777
docker-build-ghcr:
7878
name: Validate GHCR Build
79-
uses: ./.github/workflows/rw_docker_operations.yaml
79+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_docker_operations.yaml@master
8080
needs: build_git-tag_and_create_github-release
8181
with:
8282
operation: 'test'
@@ -88,15 +88,15 @@ jobs:
8888
enable-signing: true
8989

9090
docs-build:
91-
uses: ./.github/workflows/rw_docs_operations.yaml
91+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_docs_operations.yaml@master
9292
needs: intent-parse
9393
with:
9494
operation: 'test'
9595
upload-artifacts: true
9696

9797
supply-chain-loopback:
9898
name: Security Scan (Supply Chain)
99-
uses: ./.github/workflows/rw_docker_operations.yaml
99+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_docker_operations.yaml@master
100100
needs: [docker-build-dockerhub, docker-build-ghcr]
101101
with:
102102
operation: 'security-scan'

ā€Ž.github/workflows/release.ymlā€Ž

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ concurrency:
5858

5959
jobs:
6060
intent:
61-
uses: ./.github/workflows/rw_parse_release_intent.yaml
61+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_parse_release_intent.yaml@master
6262
with:
6363
level: ${{ inputs.level }}
6464
python: ${{ inputs.python }}
@@ -333,7 +333,7 @@ jobs:
333333
path: docs_updated.txt
334334

335335
build_git-tag_and_create_github-release:
336-
uses: ./.github/workflows/rw_build_git-tag_and_create_github-release_v2.yaml
336+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_build_git-tag_and_create_github-release_v2.yaml@master
337337
needs: bump_version
338338
with:
339339
version: ${{ needs.bump_version.outputs.version }}
@@ -343,7 +343,7 @@ jobs:
343343
github_auth_token: ${{ secrets.GITHUB_TOKEN }}
344344

345345
release_python:
346-
uses: ./.github/workflows/rw_python_package.yaml
346+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_python_package.yaml@master
347347
needs: [intent, bump_version, build_git-tag_and_create_github-release]
348348
if: needs.intent.outputs.do_release == 'true' && needs.intent.outputs.python != 'skip'
349349
with:
@@ -354,7 +354,7 @@ jobs:
354354

355355
release_docker_hub:
356356
name: Release to DockerHub
357-
uses: ./.github/workflows/rw_docker_operations.yaml
357+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_docker_operations.yaml@master
358358
needs: [intent, bump_version, build_git-tag_and_create_github-release]
359359
if: needs.intent.outputs.do_release == 'true' && needs.intent.outputs.docker != 'skip'
360360
secrets:
@@ -370,7 +370,7 @@ jobs:
370370

371371
release_docker_ghcr:
372372
name: Release to GHCR
373-
uses: ./.github/workflows/rw_docker_operations.yaml
373+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_docker_operations.yaml@master
374374
needs: [intent, bump_version, build_git-tag_and_create_github-release]
375375
if: needs.intent.outputs.do_release == 'true' && needs.intent.outputs.docker != 'skip'
376376
with:
@@ -382,7 +382,7 @@ jobs:
382382
enable-signing: true
383383

384384
release_docs:
385-
uses: ./.github/workflows/rw_docs_operations.yaml
385+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_docs_operations.yaml@master
386386
needs: [intent, prepare_docs_matrix, bump_version, build_git-tag_and_create_github-release]
387387
if: needs.intent.outputs.do_release == 'true' && needs.intent.outputs.docs != 'skip' && needs.prepare_docs_matrix.outputs.has_sections == 'true'
388388
with:

ā€Ž.github/workflows/rw_build_and_test.yamlā€Ž

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ on:
1616
jobs:
1717
run_unit-test:
1818
# name: Run all unit test items
19-
uses: ./.github/workflows/rw_uv_run_test_with_multi_py_versions.yaml
19+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_uv_run_test_with_multi_py_versions.yaml@master
2020
with:
2121
test_type: unit-test
2222
test_folder: './test/unit_test'
2323
install_dependency_with_group: 'dev'
2424

2525
run_integration-test:
2626
# name: Run all integration test items
27-
uses: ./.github/workflows/rw_uv_run_test_with_multi_py_versions.yaml
27+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_uv_run_test_with_multi_py_versions.yaml@master
2828
with:
2929
test_type: integration-test
3030
test_folder: './test/integration_test'
@@ -33,7 +33,7 @@ jobs:
3333
run_e2e-test:
3434
# name: Run all end-to-end test items
3535
if: ${{ inputs.run_e2e == true }}
36-
uses: ./.github/workflows/rw_uv_run_test_with_multi_py_versions.yaml
36+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_uv_run_test_with_multi_py_versions.yaml@master
3737
with:
3838
test_type: e2e-test
3939
test_folder: './test/e2e_test'
@@ -44,15 +44,15 @@ jobs:
4444

4545
run_contract-test:
4646
# name: Run all contract test items
47-
uses: ./.github/workflows/rw_uv_run_test_with_multi_py_versions.yaml
47+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_uv_run_test_with_multi_py_versions.yaml@master
4848
with:
4949
test_type: contract-test
5050
test_folder: './test/contract_test'
5151
install_dependency_with_group: 'dev'
5252

5353
run_script-test:
5454
# name: Run all contract test items
55-
uses: ./.github/workflows/rw_uv_run_test_with_multi_py_versions.yaml
55+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_uv_run_test_with_multi_py_versions.yaml@master
5656
with:
5757
test_type: ci-script-test
5858
test_folder: './test/ci_script_test'
@@ -65,7 +65,7 @@ jobs:
6565
(github.event_name == 'push' && github.ref_name == 'master')
6666
}}
6767
needs: run_unit-test
68-
uses: ./.github/workflows/rw_organize_test_cov_reports.yaml
68+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_organize_test_cov_reports.yaml@master
6969
with:
7070
test_type: unit-test
7171

@@ -76,7 +76,7 @@ jobs:
7676
(github.event_name == 'push' && github.ref_name == 'master')
7777
}}
7878
needs: run_integration-test
79-
uses: ./.github/workflows/rw_organize_test_cov_reports.yaml
79+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_organize_test_cov_reports.yaml@master
8080
with:
8181
test_type: integration-test
8282

@@ -87,7 +87,7 @@ jobs:
8787
(github.event_name == 'push' && github.ref_name == 'master')
8888
}}
8989
needs: run_e2e-test
90-
uses: ./.github/workflows/rw_organize_test_cov_reports.yaml
90+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_organize_test_cov_reports.yaml@master
9191
with:
9292
test_type: e2e-test
9393

@@ -98,7 +98,7 @@ jobs:
9898
(github.event_name == 'push' && github.ref_name == 'master')
9999
}}
100100
needs: run_contract-test
101-
uses: ./.github/workflows/rw_organize_test_cov_reports.yaml
101+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_organize_test_cov_reports.yaml@master
102102
with:
103103
test_type: contract-test
104104

@@ -113,7 +113,7 @@ jobs:
113113
}}
114114
# needs: [run_unit-test, run_integration-test, run_contract-test]
115115
needs: [run_unit-test, run_integration-test, run_contract-test]
116-
uses: ./.github/workflows/rw_organize_test_cov_reports.yaml
116+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_organize_test_cov_reports.yaml@master
117117
with:
118118
test_type: all-test
119119

@@ -128,6 +128,6 @@ jobs:
128128
}}
129129
# needs: [run_unit-test, run_integration-test, run_contract-test, run_e2e-test]
130130
needs: [run_unit-test, run_integration-test, run_contract-test, run_e2e-test]
131-
uses: ./.github/workflows/rw_organize_test_cov_reports.yaml
131+
uses: Chisanan232/Template-Python-UV-Project/.github/workflows/rw_organize_test_cov_reports.yaml@master
132132
with:
133133
test_type: all-test

0 commit comments

Comments
Ā (0)