Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/taiki45/gh-action-version
Fetch GitHub actions commit sha from tag name.
https://github.com/taiki45/gh-action-version
gh-extension
Last synced: 10 days ago
JSON representation
Fetch GitHub actions commit sha from tag name.
- Host: GitHub
- URL: https://github.com/taiki45/gh-action-version
- Owner: taiki45
- Created: 2023-11-22T07:26:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-14T12:06:41.000Z (about 1 year ago)
- Last Synced: 2024-11-07T15:47:07.374Z (2 months ago)
- Topics: gh-extension
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gh action-version
This `gh` extension enables you to fetch the commit SHA of GitHub Actions.
It's particularly useful when you need to pin a specific action revision in your workflows:```
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
```## Install
```
gh extension install taiki45/gh-action-version
```## Usage
To fetch the latest revision of `actions/checkout`, use:```
gh action-version actions/checkout
```To fetch a specific version, for instance, `v3`:
```
gh action-version actions/checkout v3
```