easydesk/Semantic Versioning Checkout
Checkout a complete git repository and compute semantic versioning info based on tags and history.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| repository | Repository name with owner (e.g. EasyDesk/action-semver-checkout) | no | ${{ github.repository }} |
| token | Personal access token (PAT) used to fetch the repository. The PAT is configured with the local git config, which enables your scripts to run authenticated git commands. The post-job step removes the PAT. We recommend using a service account with the least permissions necessary. Also when generating a new PAT, select the least scopes necessary. [Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets) | no | ${{ github.token }} |
| clean | Whether to execute `git clean -ffdx && git reset --hard HEAD` before fetching | no | true |
| lfs | Whether to download Git-LFS files | no | false |
| submodules | true: checkout submodules false: don't checkout submodules recursive: recursively checkout submodules | no | false |
Outputs
| name | description |
|---|---|
| version | The semantic version of the current state of the repository. |
| is-dev-version | Whether or not this version is a development only version (i.e. version is in the form 'X.Y.Z-dev.C+H'). |
| major | The major version. |
| minor | The minor version. |
| patch | The patch version. |
| prerelease | The prerelease version. |
| build | The build version. |
| should-release | Whether or not this workflow run should create a release on GitHub. |
| is-github-prerelease | Whether or not this release should be marked as a prerelease on GitHub. |