polkadot
polkadot copied to clipboard
[ci] Run check-runtime only for PRs
Close https://github.com/paritytech/ci_cd/issues/538
Run check-runtime only for PRs
The issue is about running it only for (PRs to) release branches.
The issue is about running it only for (PRs to) release branches
Good catch, thank you. I added rule release-v* and keep rule for PR because we can't distinguish difference between PR into master or into other branch in gitlab
The issue is about running it only for (PRs to) release branches
Good catch, thank you. I added rule
release-v*and keep rule for PR because we can't distinguish difference between PR into master or into other branch in gitlab
~~Can we use something like CI_MERGE_REQUEST_TARGET_BRANCH_NAME?~~ The purpose of the issue is to remove this check for PRs into master (on github) and currently this PR doesn't do it.
Hm, the issue has this text:
It would be good to keep this check but remove it from master and ensure it runs in the release branches
The PR removes the check-runtime from master and runs it on release branches.
@ordian you mentioned that it also should run in PRs to release branches. We mirror Github branches to Gitlab with custom solution and all PRs are mirrored as branches with PR number. So currently there is no way to run the check-runtime job only for PRs into release branches. I can either disable it for PRs at all or keep for all PRs.
Well, if we can't distinguish between PRs to master or a release branch, not sure if this check is useful at all. IIRC, it was introduced so that we bump the spec version when needed, but only when needed on master. But now we have a release process that bumps the version on every release. So what value does this check bring? Maybe we should remove it? @bkchr
Maybe we should remove it?
From my side we can remove it. I mean there should be no need anymore
@chevdor wdyt? do you need it for release-v* branches?
@chevdor wdyt? do you need it for
release-v*branches?
any release branch yes