我使用Gitlab CI检查我的项目代码质量。有时我只想检查新代码(新提交)。
如何从Gitlab CI中获取差异?
我找到了解决方案,它很明显,但对我来说不是
diff: script: - git diff ${CI_COMMIT_SHA} master except: - master