Skip to content

Commit

Permalink
v1.38.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dflook committed Dec 8, 2023
1 parent 565c93e commit d3cfbcc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,11 @@ The [dflook/terraform-apply](https://github.com/dflook/terraform-github-actions/

* `add_github_comment`

Controls whether a comment is added to the PR with the generated plan.

The default is `true`, which adds a comment to the PR with the results of the plan.
Set to `changes-only` to add a comment only when the plan indicates there are changes to apply.
Set to `always-new` to always create a new comment for each plan, instead of updating the previous comment.
Set to `false` to disable the comment - the plan will still appear in the workflow log.

- Type: string
Expand Down Expand Up @@ -345,7 +348,7 @@ The [dflook/terraform-apply](https://github.com/dflook/terraform-github-actions/

## Workflow events

When adding the plan to a PR comment (`add_github_comment` is set to `true`/`changes-only`), the workflow can be triggered by the following events:
When adding the plan to a PR comment (`add_github_comment` is not `false`), the workflow can be triggered by the following events:

- pull_request
- pull_request_review_comment
Expand Down
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ outputs:

runs:
using: docker
image: docker://danielflook/terraform-github-actions@sha256:2fa1462c0d719834b0dd18acf08914e306405b8d8538adb1b4db8ef940dfe6ba
image: docker://danielflook/terraform-github-actions@sha256:d58d04e15c058da5c0de5c23ce428b3fe20ff3c7d96518f1e6254d95b3b402a9
entrypoint: /entrypoints/plan.sh

branding:
Expand Down

0 comments on commit d3cfbcc

Please sign in to comment.