Skip to content

Commit

Permalink
ci: add GitHub token permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
varunsh-coder committed May 22, 2022
1 parent 61b59b8 commit 80f7dcf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Lint

on: [pull_request]

permissions:
contents: read

jobs:
codespell:
name: Check spelling all files with codespell
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: RuboCop

on: [push, pull_request]

permissions:
contents: read

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

0 comments on commit 80f7dcf

Please sign in to comment.