Skip to content

Commit

Permalink
chore: add permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
philwelz committed Jan 26, 2024
1 parent a98ed2a commit 67f1cfc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ defaults:
working-directory: ./
shell: bash

permissions: read-all

jobs:
build:
name: gh-runner
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ jobs:
docker-build:
runs-on: ubuntu-latest

permissions:
contents: read
packages: write # needed for publishing the image to the GitHub Container Registry
permissions:
packages: write

steps:
- name: Checkout code
Expand Down

0 comments on commit 67f1cfc

Please sign in to comment.