From fa830524f2a1da754626a5bac3e088e4948986cd Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Mon, 17 Jun 2024 23:32:40 +0200 Subject: [PATCH] fix: dependency-graph permissions 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 c2c08140a43..b1b393267da 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