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(cli): Attempt at patching the existing event with a new file reader to support trunk based flows #63

Merged
merged 4 commits into from
Apr 26, 2024

Conversation

baldm
Copy link
Contributor

@baldm baldm commented Apr 25, 2024

For trunk based builds, the Slack notifications are broken like this example:
https://monta-app01.slack.com/archives/C01KL9FUPNK/p1713440134273099

Trunk based flows use another pattern for their github json events. The original class GithubPushContext, is coupled with the PublishSlackService and PublishSlackCommand, so to avoid re-writing these i created a quick util method which populates the original context with the new info.

Theres prob also a way of doing this in a OOP style which would be cleaner and better but for now i think this is alright.

@baldm baldm merged commit 98a307c into main Apr 26, 2024
6 checks passed
@baldm baldm deleted the feat/trunk-based-support branch April 26, 2024 07:28
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.

2 participants