This is an automated email from the ASF dual-hosted git repository.
yhu 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 d2754716b98 Github Workflow Replacement for Jenkins Job,
beam_PreCommit_Go (Cron, Commit, Phrase) (#27042)
d2754716b98 is described below
commit d2754716b984b42e4397d50d518c704d4806df53
Author: magicgoody <[email protected]>
AuthorDate: Fri Jun 9 22:46:31 2023 +0600
Github Workflow Replacement for Jenkins Job, beam_PreCommit_Go (Cron,
Commit, Phrase) (#27042)
* triggers fix for comment, cron, push
* cron condition fix
* cron trigger fix
---
.github/workflows/beam_PreCommit_Go.yml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/.github/workflows/beam_PreCommit_Go.yml
b/.github/workflows/beam_PreCommit_Go.yml
index 77dbb393ecb..1d2deb7dea4 100644
--- a/.github/workflows/beam_PreCommit_Go.yml
+++ b/.github/workflows/beam_PreCommit_Go.yml
@@ -1,12 +1,20 @@
name: beam_PreCommit_Go
on:
+ push:
+ tags: ['v*']
+ branches: ['master', 'release-*']
pull_request:
branches: ['master']
paths: ['model/**', 'sdks/go.**', 'release/**']
+ issue_comment:
+ types: [created]
+ schedule:
+ - cron: '* */6 * * *'
jobs:
beam_PreCommit_Go:
+ if: ${{github.event.issue.pull_request}} ||
${{github.event.comment.body == 'Run Go PreCommit'}} ||
${{github.event.schedule}}
runs-on: [self-hosted, ubuntu-20.04]
name: beam_PreCommit_Go
steps: