ajaxer-org/Git Repository Clone and Commit Action
This workflow clones a GitHub repository, checks out a branch, configures Git user settings, and signs commits/tags using SSH.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Sep 20, 2024
- License
- Public domain
Pinned Snippet
uses: ajaxer-org/git-repo-clone-action@2d4e224518e39762033400f3b6565072b90f33ab # v2.2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| repo_url | The Git repository SSH URL to clone. | yes | — |
| ssh_private_key | The SSH private key to access the repository. | yes | — |
| directory | The directory to clone the repository into (optional). | no | "" |
| ref | The branch or tag to checkout (optional). | no | — |
| list_files | List all the files after checkout (optional). | no | false |
| user_name | The Git user name for later commits (optional). | no | GitHub Actions |
| user_email | The Git user email for later commits (optional). | no | actions@github.com |
| sign_commit | Whether to sign commits and tags with the SSH key (optional). | no | true |
Outputs
no outputs