Skip to content

Changing the workflow file from the "expected" contents should provide a more helpful error, be documented #1150

@jakebailey

Description

@jakebailey

I changed the default workflow defaults on the TS repo to enable pipefail; that included the scorecard workflow.

However, doing this caused our builds to fail with a 500 error: https://github.com/microsoft/TypeScript/actions/runs/5082801912/jobs/9132975534

tlog entry created with index: 21654547
MEUCIHzLk7hN1sf4Q/GdFCYqGijqiGl0rDkSn5XAFYAZUjvQAiEAuk0nG4gAJ5keCXea2s0O751IVv8AURSCji7Uv5lF670=
2023/05/25 17:23:56 error processing signature: http response 500, status: 500 Internal Server Error, error: {"code":500,"message":"something went wrong and we are looking into it."}

It turns out that this is intentional in some way: microsoft/TypeScript#54382 (comment)

If there's only one supported workflow format, can that be documented in the README (rather than listed as an "example") and provide a better error message when it does happen other than a 500 error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions