Skip to content

Commit b29d1c4

Browse files
committed
tack on origin
1 parent 9872340 commit b29d1c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/node.js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
steps:
3030
- name: Checkout code
31-
uses: actions/checkout@v1
31+
uses: actions/checkout@v4
3232
with:
3333
fetch-depth: 0
3434

@@ -45,7 +45,7 @@ jobs:
4545
run: jscpd --config "$GITHUB_WORKSPACE/.github/workflows/jscpd.json"
4646

4747
- name: Get the diff
48-
run: git diff --name-only ${{ github.event.pull_request.base.ref }} ${{ github.head_ref }} >> diff_output.txt
48+
run: git diff --name-only origin/${{ github.event.pull_request.base.ref }} ${{ github.head_ref }} >> diff_output.txt
4949

5050
- name: Upload unfiltered jscpd report
5151
if: always()

0 commit comments

Comments
 (0)