Commit 17d980a9 by Nicolas Capens Committed by Nicolas Capens

Have Kokoro accept imports from Piper

Copybara creates Gerrit changes containing a PiperOrigin-RevId: line when importing from Piper, so accept that instead of a Bug: line. Bug: b/148537471 Change-Id: I2c655c90c2873787054db4de22bf2f9c3526bdce Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/40731 Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Tested-by: 's avatarNicolas Capens <nicolascapens@google.com> Reviewed-by: 's avatarAntonio Maiorano <amaiorano@google.com>
parent 38c065dd
...@@ -40,7 +40,7 @@ function check() { ...@@ -40,7 +40,7 @@ function check() {
# Validate commit message # Validate commit message
function run_bug_in_commit_msg() { function run_bug_in_commit_msg() {
git log -1 --pretty=%B | grep -E '^(Bug|Issue|Fixes):(\s?)(((b\/)|(\w+:))([0-9]+)|[^0-9]+)$|(^Regres:)' git log -1 --pretty=%B | grep -E '^(Bug|Issue|Fixes):(\s?)(((b\/)|(\w+:))([0-9]+)|[^0-9]+)$|(^Regres:)|(^PiperOrigin-RevId:)'
if [ $? -ne 0 ] if [ $? -ne 0 ]
then then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment