Skip to content

Set matrix based on changed file types #6

Description

@p5

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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