mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00

Additionally, fixed most of the errors reported by rstcheck. Fixes https://github.com/saltstack/salt/issues/58668
15 lines
293 B
Groovy
15 lines
293 B
Groovy
@Library('salt@master-1.9') _
|
|
|
|
if (env.CHANGE_ID) {
|
|
// This is a PR
|
|
pre_commit_skips = ''
|
|
} else {
|
|
// This is a branch build
|
|
pre_commit_skips = 'pyupgrade,remove-import-headers,rstcheck'
|
|
}
|
|
|
|
runPreCommit(
|
|
env: env,
|
|
pre_commit_skips: pre_commit_skips)
|
|
|
|
// vim: ft=groovy
|