There was an error while loading. Please reload this page.
1 parent 9f86209 commit 3392b2dCopy full SHA for 3392b2d
1 file changed
.github/workflows/terraform-plan.yml
@@ -60,8 +60,17 @@ jobs:
60
- name: Create tf-summarize markdown file
61
run: tf-summarize -md tfplan >> tf-summary.md
62
63
+ - name: Find Comment
64
+ uses: peter-evans/find-comment@b30e6a3c0ed37e7c023ccd3f1db5c6c0b0c23aad # v4.0.0
65
+ id: fc
66
+ with:
67
+ issue-number: ${{ github.event.pull_request.number }}
68
+ comment-author: "github-actions[bot]"
69
+ body-includes: CHANGE
70
+
71
- name: Create PR comment with course-grained plan summary
72
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0
73
with:
74
+ comment-id: ${{ steps.fc.outputs.comment-id }}
75
issue-number: ${{ github.event.number }}
76
body-path: "./terraform/tf-summary.md"
0 commit comments