mirror of
https://github.com/projecthorus/sondehub-infra.git
synced 2025-01-11 23:42:45 +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
|
id: fmt
|
||||||
run: terraform fmt
|
run: terraform fmt
|
||||||
continue-on-error: true
|
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
|
- name: Terraform Init
|
||||||
id: init
|
id: init
|
||||||
run: terraform init
|
run: terraform init
|
||||||
@ -49,9 +55,18 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
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 Initialization ⚙️\`${{ steps.init.outcome }}\`
|
||||||
#### Terraform Validation 🤖\`${{ steps.validate.outputs.stdout }}\`
|
#### Terraform Validation 🤖 ${{ steps.validate.outputs.stdout }}
|
||||||
#### Terraform Plan 📖\`${{ steps.plan.outcome }}\`
|
#### Terraform Plan 📖\`${{ steps.plan.outcome }}\`
|
||||||
|
|
||||||
<details><summary>Show Plan</summary>
|
<details><summary>Show Plan</summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user