Skip to content

Commit

Permalink
update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
marwinbaumannsbp committed Dec 28, 2022
1 parent 4f349ce commit ce8f320
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Terraform
name: "Terraform"

on:
pull_request:
Expand Down Expand Up @@ -47,6 +47,7 @@ jobs:
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
continue-on-error: true # added this to prevent a PR from a remote fork failing the workflow
- name: Update module usage docs and push any changes back to PR branch
uses: Dirrk/terraform-docs@v1.0.8
with:
Expand All @@ -56,14 +57,14 @@ jobs:
tf_docs_output_file: README.md
tf_docs_output_method: inject
tf_docs_find_dir: .
continue-on-error: true # added this to prevent a PR from a remote fork failing the workflow

tfsec:
name: tfsec
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Terraform security scan
uses: aquasecurity/tfsec-pr-commenter-action@v1.1.0
uses: actions/checkout@master
- name: Terraform pr commenter
uses: aquasecurity/tfsec-pr-commenter-action@v1.2.0
with:
github_token: ${{ github.token }}

0 comments on commit ce8f320

Please sign in to comment.