Skip to content

Commit

Permalink
Merge pull request #1683 from turrisxyz/naveen/feat/set-perms-actions
Browse files Browse the repository at this point in the history
Set permissions for GitHub actions
  • Loading branch information
mathbunnyru committed Apr 14, 2022
2 parents 900c5b3 + 0e4f74d commit 821cd7d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docker-amd64.yml
Expand Up @@ -48,6 +48,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
build-test-amd64-images:
name: Build and test amd64 Docker Images
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pre-commit.yml
Expand Up @@ -8,6 +8,9 @@ on:
- master
workflow_dispatch:

permissions:
contents: read

jobs:
run-hooks:
name: Run pre-commit hooks
Expand Down

0 comments on commit 821cd7d

Please sign in to comment.