pre-commit 262 B

123456789101112131415
  1. @Library('salt@master-1.7') _
  2. if (env.CHANGE_ID) {
  3. // This is a PR
  4. pre_commit_skips = ''
  5. } else {
  6. // This is a branch build
  7. pre_commit_skips = 'pyupgrade'
  8. }
  9. runPreCommit(
  10. env: env,
  11. pre_commit_skips: pre_commit_skips)
  12. // vim: ft=groovy