You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "jrudolph (via GitHub)" <gi...@apache.org> on 2023/07/24 11:24:26 UTC

[GitHub] [incubator-pekko-http] jrudolph commented on a diff in pull request #265: job to run tests on JDK20

jrudolph commented on code in PR #265:
URL: https://github.com/apache/incubator-pekko-http/pull/265#discussion_r1272128073


##########
.github/workflows/publish.yml:
##########
@@ -1,5 +1,8 @@
 name: Publish nightly snapshots and documentation
 
+permissions:
+  contents: read

Review Comment:
   Afaiu, giving no permissions is equivalent to setting all permissions to `none`. I.e. we are giving more permissions here than before.



##########
.github/workflows/nightly.yml:
##########
@@ -1,5 +1,7 @@
 name: Nightly Builds
 
+permissions: {}

Review Comment:
   Isn't this just syntactically a no-op, because not specifying the element is the same as setting it as empty. According to https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs#defining-access-for-the-github_token-scopes:
   
   > all of those that are not specified are set to `none`.
   
   so not sure, if should or will change anything?



-- 
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: notifications-unsubscribe@pekko.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org