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

CLOUDP-238747: Fix automatic release on PR merge #1463

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

josvazg
Copy link
Collaborator

@josvazg josvazg commented Mar 20, 2024

All Submissions:

  • Have you signed our CLA?

@josvazg josvazg force-pushed the CLOUDP-238747/fix-auto-release branch 3 times, most recently from fadf79b to e3bf948 Compare March 20, 2024 18:07
Signed-off-by: jose.vazquez <jose.vazquez@mongodb.com>
@josvazg josvazg force-pushed the CLOUDP-238747/fix-auto-release branch from e3bf948 to 45003a4 Compare March 20, 2024 18:09
@josvazg josvazg changed the title CLOUDP-238474: Fix automatic release on PR merge CLOUDP-238747: Fix automatic release on PR merge Mar 21, 2024
RELEASE_HELM: ${{ github.event.inputs.release_helm || 'true' }}
CERTIFY: ${{ github.event.inputs.certify || 'true' }}
RELEASE_TO_GITHUB: ${{ github.event.inputs.release_to_github || 'true' }}
BRANCH: ${{ github.event.inputs.branch || 'main' }}
BRANCH: ${{ github.event.inputs.branch || github.head_ref || github.ref_name || 'main' }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm wondering if only ${{ github.event.inputs.branch || github.head_ref }} would be enough given the events that triggers this workflow

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It might be so. I prefer to have extra fallback for now.

@josvazg josvazg merged commit 4b0112a into main Mar 22, 2024
9 checks passed
@josvazg josvazg deleted the CLOUDP-238747/fix-auto-release branch March 22, 2024 08: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.

2 participants