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

fix(ci): remove invalid properties from force-release workflow #442

Merged
merged 2 commits into from
Aug 27, 2024

Conversation

xiehan
Copy link
Contributor

@xiehan xiehan commented Aug 27, 2024

Unfortunately, the rollout of #437 failed because it turns out there was some invalid syntax in the force-release workflow, which the action-validator package was failing the build on. This highlighted one flaw of this setup: because the force-release workflow doesn't exist in this project, and only in the prebuilt providers / implementers of this project, it wasn't being run through the validation at build/test time here in the source, and so it's possible to write a bad workflow here, publish a release, and break all implementing projects as a result.

In order to be a good citizen, I not only fixed the issue with force-release itself but also figured out how to add tests for all of the workflows, again using action-validator. I manually verified that with the bad syntax still included in force-release.ts, the tests were failing (as they should). When I removed the bad syntax, all the tests pass. Win!

@xiehan xiehan requested a review from a team as a code owner August 27, 2024 15:52
@xiehan xiehan requested review from mutahhir and DanielMSchmidt and removed request for a team August 27, 2024 15:52
@team-tf-cdk team-tf-cdk enabled auto-merge (squash) August 27, 2024 15:54
Signed-off-by: team-tf-cdk <[email protected]>
@team-tf-cdk team-tf-cdk merged commit f3feaae into main Aug 27, 2024
6 checks passed
@team-tf-cdk team-tf-cdk deleted the fix-force-release branch August 27, 2024 15:56
Copy link

github-actions bot commented Sep 4, 2024

I'm going to lock this pull request because it has been closed for at least 7 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems related to this change, please open a new issue so we can investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants