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.
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.