* test pr

* test

* Terraform fmt [skip ci]

* change formatting

* test

Co-authored-by: xss <michaela@michaela.lgbt>
Co-authored-by: TheSkorm <TheSkorm@users.noreply.github.com>
This commit is contained in:
Michaela Wheeler 2022-01-29 15:11:24 +11:00 committed by GitHub
parent 6eddddcc73
commit 727124bcec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,12 @@ jobs:
id: fmt
run: terraform fmt
continue-on-error: true
- uses: EndBug/add-and-commit@v7
with:
message: Terraform fmt [skip ci]
committer_name: GitHub Actions
committer_email: actions@github.com
continue-on-error: true
- name: Terraform Init
id: init
run: terraform init
@ -49,9 +55,18 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const output = `#### Terraform Format and Style 🖌\`${{ steps.fmt.outcome }}\`
const output = `#### Terraform Format and Style 🖌
<details><summary>Show Formatted Files</summary>
\`\`\`\n
${{ steps.fmt.outputs.stdout }}
\`\`\`
</details>
#### Terraform Initialization ⚙️\`${{ steps.init.outcome }}\`
#### Terraform Validation 🤖\`${{ steps.validate.outputs.stdout }}\`
#### Terraform Validation 🤖 ${{ steps.validate.outputs.stdout }}
#### Terraform Plan 📖\`${{ steps.plan.outcome }}\`
<details><summary>Show Plan</summary>