From ccbd68e48611e0fd9344b898efe5a0e4fb1124e3 Mon Sep 17 00:00:00 2001 From: Nilesh Gadgi Date: Mon, 8 May 2023 21:11:59 +0530 Subject: [PATCH] ci: Add tfsec workflow (#10) * ci: Add tfsec workflow * fix: Add tfsec workflow --- .github/workflows/{changelog.yaml => changelog.yml} | 5 ++--- .github/workflows/tfsec.yml | 11 +++++++++++ 2 files changed, 13 insertions(+), 3 deletions(-) rename .github/workflows/{changelog.yaml => changelog.yml} (69%) create mode 100644 .github/workflows/tfsec.yml diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yml similarity index 69% rename from .github/workflows/changelog.yaml rename to .github/workflows/changelog.yml index 3e48a53..1ee6f78 100644 --- a/.github/workflows/changelog.yaml +++ b/.github/workflows/changelog.yml @@ -1,14 +1,13 @@ name: changelog permissions: write-all - on: push: tags: - "*" - # Allows you to run this workflow manually from the Actions tab workflow_dispatch: jobs: - call-workflow-changelog: + changelog: uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@master + secrets: inherit with: branch: 'master' diff --git a/.github/workflows/tfsec.yml b/.github/workflows/tfsec.yml new file mode 100644 index 0000000..9aaf588 --- /dev/null +++ b/.github/workflows/tfsec.yml @@ -0,0 +1,11 @@ +name: tfsec +permissions: write-all +on: + pull_request: + workflow_dispatch: +jobs: + tfsec: + uses: clouddrove/github-shared-workflows/.github/workflows/tfsec.yml@master + secrets: inherit + with: + working_directory: '.' \ No newline at end of file