This is an automated email from the ASF dual-hosted git repository.

engelen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko.git


The following commit(s) were added to refs/heads/main by this push:
     new c254ce90f5 fix: dependency-graph permissions (#1372)
c254ce90f5 is described below

commit c254ce90f597d1c81f92e4e31cebcdd688980312
Author: Arnout Engelen <[email protected]>
AuthorDate: Mon Jun 17 23:37:21 2024 +0200

    fix: dependency-graph permissions (#1372)
    
    apparently permissions must be at the job level, not the
    step level.
    
    Follow-up on #1371
---
 .github/workflows/dependency-graph.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/dependency-graph.yml 
b/.github/workflows/dependency-graph.yml
index c2c08140a4..b1b393267d 100644
--- a/.github/workflows/dependency-graph.yml
+++ b/.github/workflows/dependency-graph.yml
@@ -10,10 +10,10 @@ jobs:
   dependency-graph:
     name: Update Dependency Graph
     runs-on: ubuntu-latest
+    permissions:
+      # The API requires write permission on the repository
+      # to submit dependencies
+      contents: write
     steps:
       - uses: actions/checkout@v4
       - uses: scalacenter/sbt-dependency-submission@v2
-        permissions:
-          # The API requires write permission on the repository
-          # to submit dependencies
-          contents: write


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to