Skip to content

MINOR FIX: IS_RELEASE_CANDIDATE #76

@cjdutoit

Description

@cjdutoit

To verify that IS_RELEASE_CANDIDATE is still true for all conditions.

From @glhays:
I found in some of my testing that these lines
"startsWith(github.event.pull_request.title, 'RELEASES:') &&\r"
"contains(github.event.pull_request.labels.*.name, 'RELEASES')",
can fail especially the contains when the label is RELEASES and the expression contains does not evaluate to true, but if you change it to RELEASE it does as in the EnviromentVariables expression for the RELEASE CANDIDATE check.
When I removed the created release tag and reran the failed action it went through without a RELEASE label.

Metadata

Metadata

Assignees

No one assigned

    Labels

    MINOR FIXA minor bug fix / change that do not significantly alter the overall functionality of the program

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions