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

Incorrect state return when branch name mismatch #11

Open
juju4 opened this issue Feb 18, 2023 · 1 comment
Open

Incorrect state return when branch name mismatch #11

juju4 opened this issue Feb 18, 2023 · 1 comment

Comments

@juju4
Copy link

juju4 commented Feb 18, 2023

When renaming repository branch eg master to main, you need to update "git_branch" to main
but action incorrectly return green state if this is not done
Example: https://github.com/juju4/ansible-auditd/actions/runs/4211727488/jobs/7310264217.

It should fail or provide a warning saying that there is branch mismatch between current and git_branch value.

@mjtrangoni
Copy link

+1.
Feature Request: * Wouldn`t be better to use main instead of master as default? ( github.com switched its default a long time ago) Or maybe even better taking the current branch from github actions directly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants