Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Branch Name Action - For branch selection for tests #9

Merged
merged 13 commits into from
Mar 10, 2023

Conversation

oliverholworthy
Copy link
Member

Adds a GitHub Action that can be used in workflows to extract the branch name to use for testing Merlin projects with the same release (e.g. 23.02 release-23.02 or development - main).

This has been extracted and exended from the code we currently run in our workflows. This part for example:

https://github.com/NVIDIA-Merlin/Transformers4Rec/blob/5f7efb7756578689cd25c72c059c7d0ad8e04b06/.github/workflows/ci.yml#L37-L48

Extended to return clearer error messages about what went wrong. For example, if we make a tag on a commit in the development branch (main) accidentally instead of the release branch, this prints an error and causes the step to fail.

@oliverholworthy oliverholworthy added the enhancement New feature or request label Mar 9, 2023
@oliverholworthy oliverholworthy self-assigned this Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants