infracost comment github
Post an Infracost comment to GitHub
Options
Name | Description |
---|---|
--behavior <behavior> | Behavior when posting comment, one of: update (default) Update latest comment new Create a new comment hide-and-new Hide previous matching comments and create a new comment delete-and-new Delete previous matching comments and create a new comment |
--commit <commit> | Commit SHA to post comment on, mutually exclusive with pull-request |
--dry-run | Generate comment without actually posting to GitHub |
--github-api-url <github-api-url> | GitHub API URL |
--github-token <github-token> |
|
--path, -p <path> |
|
--policy-path <policy-path> |
|
--pull-request <pull-request> | Pull request number to post comment on, mutually exclusive with commit |
--repo <repo> |
|
--tag <tag> | Customize hidden markdown tag used to detect comments posted by Infracost |