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

Fix revision parsing when branch contains slash #201

Merged
merged 1 commit into from
May 25, 2021

Conversation

phillebaba
Copy link
Member

This changes the parse revision logic to accept branches with slashes in them. Instead it will allow for infinite amount of slashes in the branch name and expect the last component to be the commit SHA.

Fixes #199

Signed-off-by: Philip Laine <philip.laine@gmail.com>
@phillebaba phillebaba requested a review from stefanprodan May 17, 2021 20:36
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks @phillebaba

@stefanprodan stefanprodan added the area/alerting Alerting related issues and PRs label May 25, 2021
@stefanprodan stefanprodan merged commit a144e3a into main May 25, 2021
@stefanprodan stefanprodan deleted the fix/parse-revision branch May 25, 2021 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/alerting Alerting related issues and PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flux notification controller with github enterprise
3 participants