Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/terraform.pull_requests.lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
terraform_version: ${{ inputs.terraform_version }}
- name: Pre-hook Terraform workflow
id: pre
run: |

Check failure on line 29 in .github/workflows/terraform.pull_requests.lint.yaml

View workflow job for this annotation

GitHub Actions / ci_harden_security / Github Action security hardening

workflow command "set-output" was deprecated. use `echo "{name}={value}" >> $GITHUB_OUTPUT` instead: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions
# Setup `workdir` suffix used to give more information during execution
print('::set-output name=workdir::%s' % ('' if '${{ inputs.terraform_workdir }}' == '.' else '(${{ inputs.terraform_workdir }})'))
shell: python
Expand All @@ -36,7 +36,7 @@
id: fmt
run: terraform fmt -check -recursive -diff -no-color
working-directory: ${{ inputs.terraform_workdir }}
- uses: marocchino/sticky-pull-request-comment@97bddef64db61b9d80edc69593cc4e4c415c3362 # tag=v2.2.1
- uses: marocchino/sticky-pull-request-comment@5770ad5eb8f42dd2c4f34da00c94c5381e49af88 # v3.0.5
if: failure() && steps.fmt.outcome == 'failure'
with:
recreate: true
Expand All @@ -61,7 +61,7 @@
TF_IN_AUTOMATION: yes
run: terraform init -no-color -backend=false
working-directory: ${{ inputs.terraform_workdir }}
- uses: marocchino/sticky-pull-request-comment@97bddef64db61b9d80edc69593cc4e4c415c3362 # tag=v2.2.1
- uses: marocchino/sticky-pull-request-comment@5770ad5eb8f42dd2c4f34da00c94c5381e49af88 # v3.0.5
if: failure() && steps.init.outcome == 'failure'
with:
recreate: true
Expand All @@ -87,7 +87,7 @@
TF_IN_AUTOMATION: yes
run: terraform validate -no-color
working-directory: ${{ inputs.terraform_workdir }}
- uses: marocchino/sticky-pull-request-comment@97bddef64db61b9d80edc69593cc4e4c415c3362 # tag=v2.2.1
- uses: marocchino/sticky-pull-request-comment@5770ad5eb8f42dd2c4f34da00c94c5381e49af88 # v3.0.5
if: failure() && steps.validate.outcome == 'failure'
with:
recreate: true
Expand All @@ -105,7 +105,7 @@
<br/>

> _Report based on commit ${{ github.sha }} (authored by **@${{ github.actor }}**). See [`actions#${{ github.run_id }}`](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) for more details._
- uses: marocchino/sticky-pull-request-comment@97bddef64db61b9d80edc69593cc4e4c415c3362 # tag=v2.2.1
- uses: marocchino/sticky-pull-request-comment@5770ad5eb8f42dd2c4f34da00c94c5381e49af88 # v3.0.5
if: success()
with:
recreate: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/terraform.pull_requests.plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
terraform_version: ${{ inputs.terraform_version }}
- name: Pre-hook Terraform workflow
id: pre
run: |

Check failure on line 53 in .github/workflows/terraform.pull_requests.plan.yaml

View workflow job for this annotation

GitHub Actions / ci_harden_security / Github Action security hardening

workflow command "set-output" was deprecated. use `echo "{name}={value}" >> $GITHUB_OUTPUT` instead: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions
# Setup `workdir` suffix used to give more information during execution
print('::set-output name=workdir::%s' % ('' if '${{ inputs.terraform_workdir }}' == '.' else '(${{ inputs.terraform_workdir }})'))
print('::set-output name=lint_fmt_success::%s' % ('- [x] :paintbrush: Check if all Terraform configuration files are in a canonical format' if '${{ inputs.after_lint }}' == 'true' else ''))
Expand Down Expand Up @@ -86,7 +86,7 @@
TF_IN_AUTOMATION: yes
run: terraform init -no-color -backend=false
working-directory: ${{ inputs.terraform_workdir }}
- uses: marocchino/sticky-pull-request-comment@97bddef64db61b9d80edc69593cc4e4c415c3362 # tag=v2.2.1
- uses: marocchino/sticky-pull-request-comment@5770ad5eb8f42dd2c4f34da00c94c5381e49af88 # v3.0.5
if: failure() && steps.init.outcome == 'failure'
with:
recreate: true
Expand All @@ -113,7 +113,7 @@
TF_IN_AUTOMATION: yes
run: terraform plan -input=false -no-color -parallelism=30 -compact-warnings
working-directory: ${{ inputs.terraform_workdir }}
- uses: marocchino/sticky-pull-request-comment@97bddef64db61b9d80edc69593cc4e4c415c3362 # tag=v2.2.1
- uses: marocchino/sticky-pull-request-comment@5770ad5eb8f42dd2c4f34da00c94c5381e49af88 # v3.0.5
if: failure() && steps.plan.outcome == 'failure'
with:
recreate: true
Expand All @@ -132,7 +132,7 @@
<br/>

> _Report based on commit ${{ github.sha }} (authored by **@${{ github.actor }}**). See [`actions#${{ github.run_id }}`](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) for more details._
- uses: marocchino/sticky-pull-request-comment@97bddef64db61b9d80edc69593cc4e4c415c3362 # tag=v2.2.1
- uses: marocchino/sticky-pull-request-comment@5770ad5eb8f42dd2c4f34da00c94c5381e49af88 # v3.0.5
if: success()
with:
recreate: true
Expand Down
Loading