You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by lo...@apache.org on 2022/05/12 14:37:34 UTC

[beam] branch master updated: Trigger go precommits on go mod/sum changes (#17636)

This is an automated email from the ASF dual-hosted git repository.

lostluck pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new fd61a900570 Trigger go precommits on go mod/sum changes (#17636)
fd61a900570 is described below

commit fd61a90057011270dbf9a36c73b5baaf120100e2
Author: Danny McCormick <da...@google.com>
AuthorDate: Thu May 12 10:37:27 2022 -0400

    Trigger go precommits on go mod/sum changes (#17636)
---
 .github/workflows/go_tests.yml                       | 2 +-
 .test-infra/jenkins/job_PreCommit_Go.groovy          | 2 +-
 .test-infra/jenkins/job_PreCommit_Go_Portable.groovy | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/go_tests.yml b/.github/workflows/go_tests.yml
index 8829faecde0..12970dab4e9 100644
--- a/.github/workflows/go_tests.yml
+++ b/.github/workflows/go_tests.yml
@@ -28,7 +28,7 @@ on:
   pull_request:
     branches: ['master', 'release-*']
     tags: 'v*'
-    paths: ['sdks/go/pkg/**']
+    paths: ['sdks/go/pkg/**', 'sdks/go.mod', 'sdks/go.sum']
 
 jobs:
   build:
diff --git a/.test-infra/jenkins/job_PreCommit_Go.groovy b/.test-infra/jenkins/job_PreCommit_Go.groovy
index db9db274423..73b6cf4c938 100644
--- a/.test-infra/jenkins/job_PreCommit_Go.groovy
+++ b/.test-infra/jenkins/job_PreCommit_Go.groovy
@@ -24,7 +24,7 @@ PrecommitJobBuilder builder = new PrecommitJobBuilder(
     gradleTask: ':goPreCommit',
     triggerPathPatterns: [
       '^model/.*$',
-      '^sdks/go/.*$',
+      '^sdks/go.*$',
       '^release/.*$',
     ]
     )
diff --git a/.test-infra/jenkins/job_PreCommit_Go_Portable.groovy b/.test-infra/jenkins/job_PreCommit_Go_Portable.groovy
index 3e0e198d2a8..12c762e5eb3 100644
--- a/.test-infra/jenkins/job_PreCommit_Go_Portable.groovy
+++ b/.test-infra/jenkins/job_PreCommit_Go_Portable.groovy
@@ -24,7 +24,7 @@ PrecommitJobBuilder builder = new PrecommitJobBuilder(
     gradleTask: ':goPortablePreCommit',
     triggerPathPatterns: [
       '^model/.*$',
-      '^sdks/go/.*$',
+      '^sdks/go.*$',
       '^release/.*$',
     ]
     )