infracost comment github

Post an Infracost comment to GitHub

Options

NameDescription
--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-runGenerate comment without actually posting to GitHub
--github-api-url <github-api-url>GitHub API URL
--github-token <github-token>
  • Required ✳
--path, -p <path>
  • Required ✳
  • Repeatable ♾
--policy-path <policy-path>
  • Repeatable ♾
--pull-request <pull-request>Pull request number to post comment on, mutually exclusive with commit
--repo <repo>
  • Required ✳
--tag <tag>Customize hidden markdown tag used to detect comments posted by Infracost