mirror of https://github.com/rails/rails
ci: add GitHub token permissions
This commit is contained in:
parent
61b59b8138
commit
80f7dcfdc2
|
@ -2,6 +2,9 @@ name: Lint
|
|||
|
||||
on: [pull_request]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
codespell:
|
||||
name: Check spelling all files with codespell
|
||||
|
|
|
@ -2,6 +2,9 @@ name: RuboCop
|
|||
|
||||
on: [push, pull_request]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in New Issue