ci: add GitHub token permissions
This commit is contained in:
parent
61b59b8138
commit
80f7dcfdc2
3
.github/workflows/lint.yml
vendored
3
.github/workflows/lint.yml
vendored
@ -2,6 +2,9 @@ name: Lint
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
codespell:
|
||||
name: Check spelling all files with codespell
|
||||
|
3
.github/workflows/rubocop.yml
vendored
3
.github/workflows/rubocop.yml
vendored
@ -2,6 +2,9 @@ name: RuboCop
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
Reference in New Issue
Block a user