Skip to content

Commit

Permalink
Fixing GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rismehta committed Nov 27, 2024
1 parent ffb423e commit 8775ca6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/exporter-validate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:

- name: Fetch Base and Head References
run: |
git fetch origin ${{ github.base_ref }}:${{ github.base_ref }} --depth=1 || true
git fetch origin ${{ github.head_ref }}:${{ github.head_ref }} --depth=1 || true
git fetch origin ${{ github.base_ref }} --depth=1 || true
git fetch origin ${{ github.head_ref }} --depth=1 || true
- name: Validate JSON Changes
run: |
Expand Down Expand Up @@ -59,8 +59,7 @@ jobs:
fi
done
else
echo "File $file exists in one branch but not the other."
exit 1
echo "Skipping file $file as it exists in one branch but not the other."
fi
done
Expand Down

0 comments on commit 8775ca6

Please sign in to comment.