Skip to content

Commit

Permalink
fix: dependency-graph permissions (#1372)
Browse files Browse the repository at this point in the history
apparently permissions must be at the job level, not the
step level.

Follow-up on #1371
  • Loading branch information
raboof authored Jun 17, 2024
1 parent 8919593 commit c254ce9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dependency-graph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c254ce9

Please sign in to comment.