Skip to content

Skipped matrix jobs show unresolved expressions #9

@apermo

Description

@apermo

Summary

When using reusable-wp-e2e.yml with use-ddev: true, the non-DDEV matrix jobs are skipped but still appear in the GitHub Actions UI with unresolved expression names:

WP ${{ matrix.wp }}${{ ((matrix.multisite && ' / multisite') || '') }}

This shows twice (presumably for the default matrix entries).

Expected

Skipped jobs should either not appear at all, or show a meaningful name like "Skipped (DDEV mode)".

Reproduction

e2e:
    uses: apermo/reusable-workflows/.github/workflows/reusable-wp-e2e.yml@v0.2.0
    with:
        wp-versions: '["latest"]'
        use-ddev: true

Screenshot context

The PR checks page shows these as separate entries alongside the actual E2E (DDEV) job.

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