Skip to content

Commit 68806a2

Browse files
authored
Merge pull request #19 from LiteObject/feature/refactor_code
Feature/refactor code
2 parents 167cc04 + d85a617 commit 68806a2

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/code-review.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,8 @@ jobs:
2727
- name: Generate Diff
2828
id: generate-diff
2929
run: |
30-
echo "Generating diff between ${{ github.base_ref }} and ${{ github.head_ref }}"
31-
git diff --unified=5 origin/${{ github.base_ref }}...${{ github.head_ref }} > changes.diff
32-
33-
# - name: Generate Diff
34-
# id: generate-diff
35-
# run: |
36-
# echo "Generating diff between ${{ github.base_ref }} and pull request head"
37-
# git diff --unified=0 origin/${{ github.event.pull_request.base.ref }}..FETCH_HEAD > changes.diff
30+
echo "Generating diff between origin/${{ github.base_ref }} and origin/${{ github.head_ref }}"
31+
git diff --unified=5 origin/${{ github.base_ref }}...origin/${{ github.head_ref }} > changes.diff
3832
3933
- name: Sanitize Diff
4034
run: |

0 commit comments

Comments
 (0)