Set GITHUB_TOKEN permissions to read only in OpenAPI workflow

pull/6784/head
Niels van Velzen 3 years ago
parent 2491dd513c
commit 07b9ba2bb4

@ -9,6 +9,7 @@ jobs:
openapi-head:
name: OpenAPI - HEAD
runs-on: ubuntu-latest
permissions: read-all
steps:
- name: Checkout repository
uses: actions/checkout@v2
@ -34,6 +35,7 @@ jobs:
name: OpenAPI - BASE
if: ${{ github.base_ref != '' }}
runs-on: ubuntu-latest
permissions: read-all
steps:
- name: Checkout repository
uses: actions/checkout@v2

Loading…
Cancel
Save