Skip to content

Commit

Permalink
Refactor image pipeline module names and update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Arnold committed Aug 15, 2024
1 parent accfb48 commit 9741a63
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion workflows/terraform-plan.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,23 @@ jobs:
%{ endif }
run: terraform plan
continue-on-error: true
L

- name: Update Pull Request
uses: CSVD/gh-actions-github-script@v6
if: github.event_name == 'pull_request'
with:
github-token: $${{ secrets.GH_TOKEN }}
script: |
const output = `#### Terraform Format and Style 🖌\`$${{ steps.fmt.outcome }}\`
#### Terraform Initialization ⚙️\`$${{ steps.init.outcome }}\`
#### Terraform Validation 🤖\`$${{ steps.validate.outcome }}\`
#### Terraform Plan:
$${{ steps.plan.outcome }}
*Pushed by: @$${{ github.actor }}, Action: \`$${{ github.event_name }}\`*`;

github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: output
})

0 comments on commit 9741a63

Please sign in to comment.