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

feat: run release and release build in same workflow #5062

Merged
merged 3 commits into from
Nov 8, 2023

Conversation

emuvente
Copy link
Collaborator

@emuvente emuvente commented Nov 8, 2023

No description provided.

uses: ./.github/actions/semantic-release
env:
GITHUB_PAT: ${{ secrets.KIVA_ROBOT_GITHUB_PAT }}
with:
config: "node"

# Build and push the image to ECR if the release was published
build-image:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can most of this code move back into the gh-actions repo at some point for easier reuse?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, gha allows for reusable/shareable workflows. I think it would be great if we could eventually setup these workflows in the github actions repo and then reference them in all the app repos.

Copy link
Contributor

@kathrynlovett kathrynlovett left a comment

Choose a reason for hiding this comment

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

This all looks great to me! Left a couple questions but nothing blocking. Do we want to update the release-build action at all to prevent builds on tag pushes, now that we're building in the semantic release action?

.github/workflows/semantic-release.yaml Outdated Show resolved Hide resolved
.github/workflows/semantic-release.yaml Outdated Show resolved Hide resolved
@emuvente emuvente marked this pull request as ready for review November 8, 2023 17:28
Copy link
Contributor

@kathrynlovett kathrynlovett left a comment

Choose a reason for hiding this comment

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

🚀

@emuvente
Copy link
Collaborator Author

emuvente commented Nov 8, 2023

Do we want to update the release-build action at all to prevent builds on tag pushes, now that we're building in the semantic release action?

@kathrynlovett Sorry I missed this at first. Yes, we should update that too, thanks for catching that! I just pushed up a commit to do that.

Copy link
Contributor

@kathrynlovett kathrynlovett left a comment

Choose a reason for hiding this comment

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

Thanks for updating the release-build action! 🙏🏻

@emuvente emuvente merged commit d64c866 into main Nov 8, 2023
5 checks passed
@emuvente emuvente deleted the release-and-build branch November 8, 2023 18:58
@kiva-robot
Copy link
Collaborator

🎉 This PR is included in version 2.720.0-rc.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@kiva-robot
Copy link
Collaborator

🎉 This PR is included in version 2.720.0-rc.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@kiva-robot
Copy link
Collaborator

🎉 This PR is included in version 2.720.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

4 participants