Skip to content

Commit db353e2

Browse files
committed
revert refactor
1 parent aca9604 commit db353e2

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/copyPasteDetection.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# github actions: https://docs.github.com/en/actions/use-cases-and-examples/building-and-testing/building-and-testing-nodejs
22
# setup-node: https://github.com/actions/setup-node
33

4-
name: Copy-Paste Detection
4+
name: jscpd
55

6-
on: [workflow_call]
6+
on:
7+
pull_request:
8+
branches: [master, feature/*, staging]
79
jobs:
810
jscpd:
911
runs-on: ubuntu-latest

.github/workflows/node.js.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ jobs:
5959
- run: npm ci
6060
- run: npm run testCompile
6161
- run: npm run lint
62-
jscpd:
63-
needs: lint-commits
64-
uses: ./github/workflows/copyPasteDetection.yml
6562

6663
macos:
6764
needs: lint-commits

0 commit comments

Comments
 (0)