Skip to content
Discussion options

You must be logged in to vote

Hi @gowgopal83, great Q and I understand wanting the flexibility of triggering Terraform/OpenTofu commands directly via PR comments (i.e., issue_comment), similar to Atlantis PR automation.

This has come up a couple of times previously, and the main problem has been the issue_comment event trigger is woefully limited compared to the equivalent pull_request one. That's not to say it isn't possible, as demonstrated by this GitHub blog post on CI/CD automation with IssueOps.

In place of PR comments, I'd recommend PR label-based workflows to trigger actions, as shown in this example with run-plan and run-apply "commands" affecting how the workflow is run.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by rdhar
Comment options

You must be logged in to vote
4 replies
@rdhar
Comment options

rdhar Aug 7, 2025
Maintainer

@gowgopal83
Comment options

@rdhar
Comment options

rdhar Aug 7, 2025
Maintainer

@gowgopal83
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #489 on August 03, 2025 13:42.