Skip to content

Better error message for request-ci failures during CI lockdowns? #45317

@richardlau

Description

@richardlau

Now that nodejs/node-core-utils#655 and #45218 have fixed the error reporting from the auto-start-ci workflow we now get errors reported when someone tries to start a CI with the request-ci label during a CI lockdown (when access is restricted), e.g.

image

While technically correct (the github-bot does not have permissions to access Jenkins during the lockdown), the message is not indicative that it is expected to not be able to start CI runs unless you're involved with the security release. We've had a few questions about this during the recent lockdown (nodejs/build#3065, https://openjs-foundation.slack.com/archives/C019Y2T6STH/p1667594031302289) that it would be more informative if we can somehow indicate a lockdown is in progress in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to build files or the CI.metaIssues and PRs related to the general management of the project.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions