You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "damccorm (via GitHub)" <gi...@apache.org> on 2023/07/31 21:00:54 UTC

[GitHub] [beam] damccorm commented on a diff in pull request #27758: Fix comment trigger against PR branch

damccorm commented on code in PR #27758:
URL: https://github.com/apache/beam/pull/27758#discussion_r1279874189


##########
.github/workflows/beam_PreCommit_Go.yml:
##########
@@ -37,17 +37,25 @@ concurrency:
 
 jobs:
   beam_PreCommit_Go:
+    name: beam_PreCommit_Go (Run Go PreCommit)
+    runs-on: [self-hosted, ubuntu-20.04, main]
     if: |
       github.event_name == 'push' ||
       github.event_name == 'pull_request_target' ||
       github.event_name == 'schedule' ||
+      github.event_name == 'workflow_dispatch' ||
       github.event.comment.body == 'Run Go PreCommit'
-    runs-on: [self-hosted, ubuntu-20.04, main]
-    name: beam_PreCommit_Go (Run Go PreCommit)
-    steps:       
-      - uses: actions/checkout@v3
+    steps:
+      - name: Check out repository code

Review Comment:
   Could we extract this into a shared composite action (like rerun action)?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org