Skip to content

Commit

Permalink
check what files change
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshCasper committed Jun 13, 2022
1 parent 9e058cf commit 36efdb9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/infracost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ jobs:
with:
ref: '${{ github.event.pull_request.base.ref }}'

- run: git diff-tree --no-commit-id --name-only -r ${{ github.sha }}

# Compute if any specific file has been changed in the specific cloud-provider Terraform files
- name: Verify Changed files
uses: tj-actions/verify-changed-files@v23
uses: tj-actions/verify-changed-files@v9.2
id: verify-changed-files
with:
files: |
Expand Down Expand Up @@ -114,6 +116,8 @@ jobs:
if: steps.verify-changed-files.outputs.files_changed == 'true'
uses: actions/checkout@v3

- run: git diff-tree --no-commit-id --name-only -r ${{ github.sha }}

# Install QHub
- name: Install QHub
if: steps.verify-changed-files.outputs.files_changed == 'true'
Expand Down

0 comments on commit 36efdb9

Please sign in to comment.