From be160d8fb4a070dfabe766ba704bb68ba8ae6a07 Mon Sep 17 00:00:00 2001 From: Vedant Pareek Date: Tue, 5 Nov 2024 00:51:44 +0530 Subject: [PATCH] Adding commit ref --- .github/workflows/lint_clean.yaml | 2 +- .github/workflows/terraform-docs.yaml | 4 +++- .github/workflows/terraform-scan.yaml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint_clean.yaml b/.github/workflows/lint_clean.yaml index 45fa8ba..3a9bb33 100644 --- a/.github/workflows/lint_clean.yaml +++ b/.github/workflows/lint_clean.yaml @@ -6,4 +6,4 @@ on: jobs: fmt_and_lint: name: Terraform fmt and tflint - uses: truefoundry/github-workflows-public/.github/workflows/terraform-lint-format.yml@v0.1.0 \ No newline at end of file + uses: truefoundry/github-workflows-public/.github/workflows/terraform-lint-format.yml@v0.1.1 \ No newline at end of file diff --git a/.github/workflows/terraform-docs.yaml b/.github/workflows/terraform-docs.yaml index e5dd73e..8b9d05b 100644 --- a/.github/workflows/terraform-docs.yaml +++ b/.github/workflows/terraform-docs.yaml @@ -5,4 +5,6 @@ on: jobs: terraform-docs-generator: name: Generate terraform docs - uses: truefoundry/github-workflows-public/.github/workflows/terraform-doc-generator.yml@v0.1.0 \ No newline at end of file + uses: truefoundry/github-workflows-public/.github/workflows/terraform-doc-generator.yml@v0.1.0 + with: + commit_ref: ${{ github.event.pull_request.head.ref }} \ No newline at end of file diff --git a/.github/workflows/terraform-scan.yaml b/.github/workflows/terraform-scan.yaml index 3e66ecd..afa6279 100644 --- a/.github/workflows/terraform-scan.yaml +++ b/.github/workflows/terraform-scan.yaml @@ -5,6 +5,6 @@ on: jobs: terraform-scan: name: Vulnerability scanning - uses: truefoundry/github-workflows-public/.github/workflows/terraform-scan.yml@v0.1.0 + uses: truefoundry/github-workflows-public/.github/workflows/terraform-scan.yml@v0.1.1 secrets: snyk_token: ${{ secrets.SNYK_TOKEN }} \ No newline at end of file