Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jessicalostinspace/github-action-get-regex-branch
A github action to get the last semver branch in a repository that matches a prefix
https://github.com/jessicalostinspace/github-action-get-regex-branch
Last synced: 6 days ago
JSON representation
A github action to get the last semver branch in a repository that matches a prefix
- Host: GitHub
- URL: https://github.com/jessicalostinspace/github-action-get-regex-branch
- Owner: jessicalostinspace
- License: mit
- Created: 2019-12-17T22:29:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-08-18T19:20:06.000Z (about 2 years ago)
- Last Synced: 2024-05-12T17:31:15.826Z (6 months ago)
- Language: JavaScript
- Size: 670 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-actions - Get latest SemVer and branch name given a search string
- fucking-awesome-actions - Get latest SemVer and branch name given a search string
- awesome-workflows - Get latest SemVer and branch name given a search string
README
# Get Last Semantic Version and Semantic Version Branch Name Javascript Action
This action gets the last semantic version and semantic version branch in a repository that matches a prefix provided by the user.
## Inputs
### `regex-string`
**Required** A desired string to match against all the branches in the repository. Default `''`.
## Outputs
### `last-semver`
The last semantic version found from branches that contain the regex-string input.
### `last-semver-branch`
The branch in which the last semantic version was pulled from.
## Example usage
- name: Get Last Branch and Semantic Version Containing String
id: lrb
uses: jessicalostinspace/[email protected]
with:
regex-string: 'release-v'