Skip to content

Set matrix based on changed file types #6

Open
@p5

Description

Currently, CodeQL runs all languages defined in the array, even when a pull request does not touch a particular language. For example a single change to index.js triggers Python tests if that repo contains any Python at all.

Some of the checks take much longer than the others, so engineers are often sat waiting around for Python checks to pass when they didn't change any Python.

It would be great if this action was able to check the file extensions changed in a Pull Request, and set the matrix accordingly.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions