Skip to content

Commit 1d582a7

Browse files
committed
Linting with locally installed spectral-cli
1 parent 28d8123 commit 1d582a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: OpenAPI Lint
1414
runs-on: ubuntu-24.04
1515
permissions:
16-
contents: read
16+
contents: write
1717
env:
1818
GHA_API_LINT_FILE_GLOB: ${{ inputs.file_glob }}
1919
steps:

.github/workflows/trigger-lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [push]
55
jobs:
66
spectral-lint:
77
permissions:
8-
contents: read
8+
contents: write
99
uses: ./.github/workflows/lint.yml
1010
with:
1111
file_glob: test-api.yaml

0 commit comments

Comments
 (0)