Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
DX-3084 Update git diff logic (#910)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrice6713 authored Jan 17, 2023
1 parent 7357392 commit 3755c71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/listener.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ jobs:
- name: Check Diff
run: |
echo "========== modified files =========="
git diff --name-only HEAD^ HEAD
git diff --name-only ${{ github.base_ref }}
echo "========== check paths of modified files =========="
git diff --name-only HEAD^ HEAD > files.txt
git diff --name-only ${{ github.base_ref }} > files.txt
while IFS= read -r file
do
if [[ $file != site/specs/* ]]; then
Expand Down

0 comments on commit 3755c71

Please sign in to comment.