There was an error while loading. Please reload this page.
1 parent 7332b67 commit c10ec89Copy full SHA for c10ec89
1 file changed
.github/workflows/terraform-plan.yml
@@ -8,8 +8,9 @@ on:
8
- ".github/workflows/terraform-plan.yml"
9
10
permissions:
11
- id-token: write
12
contents: read
+ id-token: write
13
+ pull-requests: write
14
15
jobs:
16
terraform-plan:
@@ -43,4 +44,11 @@ jobs:
43
44
TF_VAR_CONTAINER_TAG: ${{ github.sha }}
45
TF_VAR_DEVSECOPS_OBJECT_ID: ${{ secrets.TF_VAR_DEVSECOPS_OBJECT_ID }}
46
TF_VAR_ENGINEERING_GROUP_OBJECT_ID: ${{ secrets.TF_VAR_ENGINEERING_GROUP_OBJECT_ID }}
- run: terraform plan -lock-timeout=5m
47
+ run: terraform plan -out=tfplan -lock-timeout=5m
48
+
49
+ - name: Summarize plan in PR comment
50
+ uses: borchero/terraform-plan-comment@2d41e908725447b1677913001dfb92fa7010c025 # v3.1.0
51
+ with:
52
+ planfile: tfplan
53
+ token: ${{ github.token }}
54
+ working-directory: terraform
0 commit comments