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

Fallback to github.sha in Docker push action #865

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

peteryates
Copy link
Member

Context

When the action is triggered by a non-pull-request event there's no sha at the head of the PR branch. Instead use github.sha which is the SHA that triggered the event.

When the action is triggered by a non-pull-request event there's no sha
at the head of the PR branch. Instead use github.sha which is the SHA
that triggered the event
@github-actions
Copy link

@peteryates peteryates merged commit 0517815 into main Aug 30, 2023
4 checks passed
@peteryates peteryates deleted the fallback-to-github-sha branch August 30, 2023 09:21
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.

2 participants