Skip to content

Error: not enought source code fles #34

@lukaas33

Description

@lukaas33

I want to use this action in my node js project.
My github action is setup as follows:

name: Duplicate code detection

on: pull_request

jobs:
  duplicate-code-check:
    name: Check for duplicate code
    runs-on: ubuntu-20.04
    steps:
      - name: Check for duplicate code
        uses: platisd/duplicate-code-detection-tool@master
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          directories: "."

I am getting the following error:

 * [new ref]         refs/pull/120/head -> pull_request_branch
Switched to branch 'pull_request_branch'
Not enough source code files found
Action aborted due to bad user input

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions