Skip to content

Commit

Permalink
Define contents permissions on "dependabot validate" workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
  • Loading branch information
mmorel-35 authored Aug 22, 2024
1 parent 49114db commit 21e4d09
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci-lint-dependabot-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
paths:
- '.github/dependabot.yml'
- '.github/workflows/validate-dependabot-config.yml'

# See https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
permissions:
contents: read

jobs:
validate:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 21e4d09

Please sign in to comment.