Skip to content

Conditional running of CI workflow jobs #41622

Description

@phil-davis

When documentation-only changes are made to a PR, we currently let all the workflow jobs run. That uses a lot of resources.

Consider implementing conditional execution of workflows depending on what files changed in a commit. For example, if the only changes are in the changelog folders, then do not bother running unit and acceptance tests, just run the various commit format, PR title etc lint checks.

Possible GitHub action to do this:

https://github.com/dorny/paths-filter

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions