Skip to content

Commit

Permalink
check out PR for duplicate checker
Browse files Browse the repository at this point in the history
  • Loading branch information
dgirardi committed Jun 13, 2024
1 parent 6fa3766 commit 85861be
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/jscpd.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Check for Duplicated Code

on:
on:
pull_request_target:
branches:
- master
Expand All @@ -24,6 +24,10 @@ jobs:
run: |
npm install -g jscpd diff-so-fancy
- name: Check out PR
run: |
git checkout ${{ github.event.pull_request.head.sha }}
- name: Create jscpd config file
run: |
echo '{
Expand Down

0 comments on commit 85861be

Please sign in to comment.