Skip to content

Commit

Permalink
ci: add minimum GitHub token permissions for workflows (#8169)
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Sharma <[email protected]>
  • Loading branch information
varunsh-coder authored Nov 10, 2023
1 parent bb04915 commit 9bdbaef
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/dependabot-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
pull_request_target:
branches: [ master, next ]

permissions:
contents: read

jobs:
merge-me:
name: Merge me!
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/docker-image-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
schedule:
- cron: '30 4 * * *'

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
env:
CYPRESS_CACHE_FOLDER: cypress/cache

permissions:
contents: read

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

0 comments on commit 9bdbaef

Please sign in to comment.