Merge pull request #214 from koic/add_explicit_permissions_to_ci_workflow
Add explicit permissions to CI workflow
This commit is contained in:
commit
830913be5a
1 changed files with 6 additions and 0 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -4,6 +4,8 @@ on: [push, pull_request]
|
|||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
strategy:
|
||||
matrix:
|
||||
entry:
|
||||
|
|
@ -27,6 +29,8 @@ jobs:
|
|||
|
||||
rubocop:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
name: RuboCop
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
|
@ -38,6 +42,8 @@ jobs:
|
|||
|
||||
yard:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
name: YARD Documentation
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
|
|
|||
Loading…
Reference in a new issue