actions-marketplace-validations/Git remote sha
Retrieve the sha from a remote git repository
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Sep 13, 2024
- License
- None
Pinned Snippet
uses: actions-marketplace-validations/mego22_actions-git-sha@3c992ac84a84f5bd9e37f131b787c09e75fd5463 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| username | Git username | yes | — |
| password | Git password or token | yes | — |
| repo | Git repository | yes | — |
| branch | Git branch | yes | HEAD |
Outputs
| name | description |
|---|---|
| sha | sha of the repository/branch |