Skip to content

Commit

Permalink
Set permissions explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
bewuethr committed Oct 26, 2024
1 parent 1dd031a commit eee844c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
- main
pull_request:

permissions:
contents: read
statuses: write

jobs:
yamllint:
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -57,5 +61,9 @@ jobs:
lint:
name: Run super-linter job
uses: bewuethr/workflows/.github/workflows/linter.yml@main
permissions:
contents: read
packages: read
statuses: write
with:
validate-dockerfile: true

0 comments on commit eee844c

Please sign in to comment.