Skip to content

Commit

Permalink
Trigger go precommits on go mod/sum changes (apache#17636)
Browse files Browse the repository at this point in the history
  • Loading branch information
damccorm committed May 12, 2022
1 parent 30f1a0c commit fd61a90
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .test-infra/jenkins/job_PreCommit_Go.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ PrecommitJobBuilder builder = new PrecommitJobBuilder(
gradleTask: ':goPreCommit',
triggerPathPatterns: [
'^model/.*$',
'^sdks/go/.*$',
'^sdks/go.*$',
'^release/.*$',
]
)
Expand Down
2 changes: 1 addition & 1 deletion .test-infra/jenkins/job_PreCommit_Go_Portable.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ PrecommitJobBuilder builder = new PrecommitJobBuilder(
gradleTask: ':goPortablePreCommit',
triggerPathPatterns: [
'^model/.*$',
'^sdks/go/.*$',
'^sdks/go.*$',
'^release/.*$',
]
)
Expand Down

0 comments on commit fd61a90

Please sign in to comment.