Commit 0d4dbf1 1 parent 25f9efa commit 0d4dbf1 Copy full SHA for 0d4dbf1
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 13
13
name : OpenAPI Lint
14
14
runs-on : ubuntu-24.04
15
15
permissions :
16
- contents : write
16
+ contents : read
17
17
env :
18
18
GHA_API_LINT_FILE_GLOB : ${{ inputs.file_glob }}
19
19
steps :
27
27
28
28
- name : Run Spectral Linting
29
29
id : linting
30
- run : spectral lint ${{ env.GHA_API_LINT_FILE_GLOB }} -r .spectral.yml - o lint-result.json -f json --quiet || true
30
+ run : spectral lint ${{ env.GHA_API_LINT_FILE_GLOB }} -o lint-result.json -f json --quiet || true
31
31
32
32
- name : Count Errors and Warnings
33
33
id : count
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ on: [push]
5
5
jobs :
6
6
spectral-lint :
7
7
permissions :
8
- contents : write
8
+ contents : read
9
9
uses : ./.github/workflows/lint.yml
10
10
with :
11
11
file_glob : test-api.yaml
You can’t perform that action at this time.
0 commit comments