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

BCR Presubmit: check metadata.json file changes #1856

Merged
merged 3 commits into from
Jan 23, 2024

Conversation

meteorcloudy
Copy link
Member

If information like, maintainers, homepage, repository is changed in the module's metadata.json file, the presubmit should wait for a BCR maintainer review.

Context bazelbuild/bazel-central-registry#1363 (comment)

@meteorcloudy
Copy link
Member Author

/cc @fmeum

@meteorcloudy meteorcloudy merged commit 4c8d3f6 into master Jan 23, 2024
6 checks passed
@meteorcloudy meteorcloudy deleted the bcr_presubmit_metadata_check branch January 23, 2024 14:56
@fmeum
Copy link
Contributor

fmeum commented Jan 23, 2024

@meteorcloudy Have you checked whether CI uses the workflow definitions from the main branch or those from the PR branch? The latter would be problematic, but it's how e.g. GitHub Actions would work by default.

@meteorcloudy
Copy link
Member Author

Do you mean this specific check? This is implemented in the CI repo not the BCR repo, so it's always using the HEAD version of the CI repo.

The bcr_validation.py is used from the PR branch, but we did check beforehand that nothing outside of modules/ are changed.

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.

3 participants