Skip to content

Commit

Permalink
Github actions: Update jscpd.yml to actually fix commenting (#11753)
Browse files Browse the repository at this point in the history
* Update jscpd.yml

* Update jscpd.yml
  • Loading branch information
patmmccann committed Jun 10, 2024
1 parent 19e9c99 commit 33663e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/jscpd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
jobs:
check-duplication:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write

steps:
- name: Checkout code
Expand Down Expand Up @@ -90,7 +93,6 @@ jobs:
if: env.filtered_report_exists == 'true'
uses: actions/github-script@v7
with:
github-token: ${{ secrets.PAT_TOKEN }}
script: |
const fs = require('fs');
const filteredReport = JSON.parse(fs.readFileSync('filtered-jscpd-report.json', 'utf8'));
Expand Down

0 comments on commit 33663e9

Please sign in to comment.