Skip to content

Feature request: Add suport for expression-based job filters in CircleCI #4883

Description

@mateogo42

According to Circle's documentation job filters are deprecated in favor of expression-based job filters. Currently, projen models filters as

export interface Filter {
    readonly branches?: FilterConfig;
    readonly tags?: FilterConfig;
}

You can get around this by doing something like

filters: 'pipeline.git.branch == main' as unknown as WorkflowJob['filters']

But it would be better if we could avoid repeating this across every project using expresion-based job filters.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions