corymhall / cdk-diff-action

GitHub action to post CDK diff to PR comments
Apache License 2.0
26 stars 1 forks source link

feat: optional issueId to comment on #46

Closed hranum closed 3 months ago

hranum commented 4 months ago

I'd like the ability to post the output in a comment which is not part of a PR.

Can confirm it works both in PR's and outside of PR workflow runs.

hranum commented 4 months ago

Sure! My PRs diff against one environment which works perfectly with this action.

After PR is merged and deploy to one environment a release is made, along with a new issue to track further deployments to other environments.

Within this issue users comment with chatops commands to dispatch different actions including cdk diff. A typical dispatch command for deploying iac includes a git ref, usually a version tag.

That is the use case, but I understand it might be to much of a edge case to merge.

corymhall commented 3 months ago

That is the use case, but I understand it might be to much of a edge case to merge.

Yeah I think for right now I'm not going to accept this enhancement. I want to keep this as simple as possible. Feel free to fork it though!