Incorrect state return when branch name mismatch
juju4 opened this issue · comments
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.
+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?