Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action analyzing entire repo, even though configured not to #7

Open
Maxscores opened this issue Dec 8, 2021 · 0 comments
Open

Action analyzing entire repo, even though configured not to #7

Maxscores opened this issue Dec 8, 2021 · 0 comments

Comments

@Maxscores
Copy link

Hi, I'm using v1.1 to analyze my package. I'm finding that the action doesn't seem to be respecting the parameters that I'm passing:

      - name: Run PMD Analysis on Files Changed
        id: pmd-partial-analysis
        uses: synergy-au/pmd-analyser-action@v1.1
        with:
          pmd-version: '6.41.0'
          file-path: 'force-app/main/default/classes'
          rules-path: 'apex-rules.xml'
          error-rules: 'ApexUnitTestClassShouldHaveAsserts,ApexUnitTestMethodShouldHaveIsTestAnnotation,ApexUnitTestShouldNotUseSeeAllDataTrue'

I'm noticing a few things, 1 is that I'm getting files analyzed outside of the file-path, also I'm noticing that non-changed files are also being analyzed.

Any ideas on what I might be doing wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant