Merge pull request #214 from koic/add_explicit_permissions_to_ci_workflow

Add explicit permissions to CI workflow
This commit is contained in:
Koichi ITO 2026-01-21 02:12:47 +09:00 • committed by GitHub
commit 830913be5a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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