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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]