You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "andreydevyatkin (via GitHub)" <gi...@apache.org> on 2023/06/30 15:59:55 UTC

[GitHub] [beam] andreydevyatkin commented on a diff in pull request #27321: updated go precommit with new condition, re-run action, pull_req_targ…

andreydevyatkin commented on code in PR #27321:
URL: https://github.com/apache/beam/pull/27321#discussion_r1248039455


##########
.github/workflows/beam_PreCommit_Go.yml:
##########
@@ -1,37 +1,57 @@
-name: beam_PreCommit_Go
+name: Go Precommit
 
 on:
   push:
     tags: ['v*']
     branches: ['master', 'release-*']
-  pull_request:
-    branches: ['master']
+  pull_request_target:
+    branches: ['master', 'release-*' ]
     paths: ['model/**', 'sdks/go.**', 'release/**']
   issue_comment:
     types: [created]
   schedule:
     - cron: '* */6 * * *'
+permissions:

Review Comment:
   As we use `pull_request_target` event we also need to add `read-all` permissions based on the instruction: https://github.com/apache/beam/blob/master/.github/ACTIONS.md?plain=1#L35



-- 
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