From 1db05994a8df042240ddc96c30964c5eed172643 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Wed, 5 Nov 2025 18:44:56 +0200 Subject: [PATCH 1/3] test: Update requirements.txt --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 64a0196..7ad7e9f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # Install commit-check CLI # For details please see: https://github.com/commit-check/commit-check -commit-check==2.1.1 +git+git@github.com:commit-check/commit-check.git@feature/support-github-user-to-get-env # Interact with the GitHub API. PyGithub==2.8.1 From 0145c66c05c0b869b067bcbc98b02a1cd27b8473 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Wed, 5 Nov 2025 18:46:48 +0200 Subject: [PATCH 2/3] fix: Update requirements.txt --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 7ad7e9f..8279358 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # Install commit-check CLI # For details please see: https://github.com/commit-check/commit-check -git+git@github.com:commit-check/commit-check.git@feature/support-github-user-to-get-env +git+https://github.com/commit-check/commit-check.git@feature/support-github-user-to-get-env # Interact with the GitHub API. PyGithub==2.8.1 From f0e71efe5dee5c81367193aa7f5b24de6070cdd8 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen Date: Wed, 5 Nov 2025 18:51:29 +0200 Subject: [PATCH 3/3] test: Update action.yml --- action.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/action.yml b/action.yml index 68df492..a9efb3b 100644 --- a/action.yml +++ b/action.yml @@ -48,17 +48,8 @@ runs: python3 -m venv venv source venv/bin/activate - # Download artifact - python3 -m pip download -r "$GITHUB_ACTION_PATH/requirements.txt" - - # Verify artifact attestations - if ! gh attestation verify commit_check-*.whl -R commit-check/commit-check; then - echo "Artifact verification failed. Aborting installation." - exit 1 - fi - - # Install artifact - python3 -m pip install commit_check-*.whl pygithub-*.whl + # Install artifacts + python3 -m pip install -r "$GITHUB_ACTION_PATH/requirements.txt" python3 "$GITHUB_ACTION_PATH/main.py" env: