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: diff --git a/requirements.txt b/requirements.txt index 64a0196..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 -commit-check==2.1.1 +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