Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jenkins: relax check for trusted nodejs/node branches #4052

Merged
merged 1 commit into from
Mar 27, 2025
Merged

Conversation

richardlau
Copy link
Member

Only enforce the COMMIT_SHA_CHECK verification when:

  • The org/repo is not nodejs/node (i.e. outside of our project).
  • The org/repo is nodejs/node and the reference is for a pull request.

Refs: #4046


This relaxes the check added in #4046 to not apply for https://github.com/nodejs/node references that are not pull request references. This will reallow scheduled builds (e.g. daily test builds of main and the staging branches).

For pull request references, or requests to build references from other repositories, the check will still be enforced.

Only enforce the COMMIT_SHA_CHECK verification when:
- The org/repo is not nodejs/node (i.e. outside of our project).
- The org/repo is nodejs/node and the reference is for a pull request.
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Member

@UlisesGascon UlisesGascon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for this big effort @richardlau ❤️

@richardlau richardlau merged commit a7a185f into main Mar 27, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants