Skip to content

Commit

Permalink
Merge pull request #18 from infralovers/gh-action-use
Browse files Browse the repository at this point in the history
fix: Refactor GH Action for terraform
  • Loading branch information
mabunixda authored May 14, 2024
2 parents 3a86978 + 3b39cb5 commit d5d31c8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 52 deletions.
50 changes: 0 additions & 50 deletions .github/workflows/terraform-analyse/action.yml

This file was deleted.

3 changes: 1 addition & 2 deletions .github/workflows/tf-analyse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ on:
description: 'Mondoo Service Account'
required: true
jobs:

analyze_tf:
runs-on: ubuntu-latest

Expand All @@ -30,7 +29,7 @@ jobs:

- name: run terraform anlysis
if: ( steps.detect.outputs.all_changed_files != '' && always() ) || ( github.event_name == 'workflow_dispatch' && always() )
uses: infralovers/.github/.github/workflows/terraform-analyse@main
uses: infralovers/terraform-analyse-action@main
with:
tfdir: ${{ inputs.tfdir }}
mondoo_service_account: ${{ secrets.MONDOO_SERVICE_ACCOUNT }}

0 comments on commit d5d31c8

Please sign in to comment.