mirror of
https://github.com/projecthorus/sondehub-infra.git
synced 2024-12-24 07:16:42 +00:00
test pr (#55)
* 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:
parent
6eddddcc73
commit
727124bcec
19
.github/workflows/pr.yml
vendored
19
.github/workflows/pr.yml
vendored
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user