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

Check if GITHUB_HEAD_REF is empty #39

Merged
merged 1 commit into from
May 16, 2024

Conversation

kichristensen
Copy link
Contributor

@kichristensen kichristensen commented May 15, 2024

GITHUB_HEAD_REF can be set but with an empty value in case the action isn't running in a pull request context.
Without this change the canary builds will always be considered to be development builds instead of canary builds

@kichristensen kichristensen changed the title Check if ref is empty Check if GITHUB_HEAD_REF is empty May 15, 2024
GITHUB_HEAD_REF can be empty in case not running in a pull request
context.

Signed-off-by: Kim Christensen <kmch@simcorp.com>
@kichristensen kichristensen merged commit f20a07c into getporter:main May 16, 2024
2 checks passed
@kichristensen kichristensen deleted the correctCheckForPR branch May 16, 2024 21:53
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

Successfully merging this pull request may close these issues.

None yet

2 participants