Copy/paste detecting GitHub Action for programming source code with jscpd
Action input | Description | Default Value | Required |
---|---|---|---|
options |
The jscpd options. More informations about jscpd options here | X | |
arguments |
Path to the directory to be scanned | . |
X |
token |
GitHub Repository token | O |
on: [pull_request]
jobs:
dry-code-action:
runs-on: ubuntu-latest
name: Dry Code Action
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Dry Code Action
uses: Pposong-Hantaihe/dry-code@v1.0.2
with:
token: "${{ secrets.GITHUB_TOKEN }}"
Yongwook Lee | Taehyuk Han |