Skip to content

Commit

Permalink
chore(ci): add minimum GitHub token permissions for workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Sharma <varunsh@stepsecurity.io>
  • Loading branch information
varunsh-coder committed Sep 10, 2022
1 parent 12cc5fb commit 95a3492
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/integration.yml
Expand Up @@ -2,6 +2,9 @@ name: Integration

on: [push, pull_request]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Expand Up @@ -2,6 +2,9 @@ name: Lint

on: [push, pull_request]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -2,6 +2,9 @@ name: Test

on: [push, pull_request]

permissions:
contents: read

jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 95a3492

Please sign in to comment.