Skip to content

Option to only report on file changes? #4

Closed

Description

@rsoesemann

Does this offical Github Action have an option to run PMD on diffs only? Like the one in https://github.com/marketplace/actions/pmd-analyser? Or do you plan to add such a helpful option?

Activity

  1. adangel commented on Nov 29, 2021

    @adangel
    Member

    No, not yet. I kept it simple for the beginning.
    As this is an open source project, pull requests are always welcome.

    Note: analyzing only the changed file might work with Apex, but maybe not for Java - the changed file might affect other files (which depend on the changed files), so to be correct, one would need to analyze the changed files + any file, that uses the changed file. This is not a problem yet for Apex, since we only look at the source code and don't resolve any types.

  2. added
    help wantedExtra attention is needed
    and removed
    help wantedExtra attention is needed
    on Nov 29, 2021
  3. locked and limited conversation to collaborators on Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions