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

CI for checking if PR changes submodule #286

Closed
wants to merge 12 commits into from
Closed

Conversation

mkirilin
Copy link
Collaborator

@mkirilin mkirilin commented Feb 15, 2024

This CI runs on pull request and checks whether the PR attempts to change reference to sc submodule. If so, it exiting with error, turns a PR into a draft PR, and leaves a comment:

"Submodule has been changed by this PR. This is forbidden by the repository policy. Your PR is turned into a draft PR."

Otherwise, it exits with success and does nothing.

@mkirilin mkirilin self-assigned this Feb 16, 2024
@mkirilin mkirilin closed this Feb 19, 2024
@mkirilin mkirilin deleted the ci-submodule branch February 19, 2024 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant