Skip to content

Commit 98c0fba

Browse files
Fix: Remove permissions from Spectral Lint workflow (#585)
1 parent c4bc0af commit 98c0fba

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/spectral-lint.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ on:
1414
- 'tools/spectral/**'
1515
- 'openapi/**.yaml'
1616
- 'package.json'
17-
permissions:
18-
issues: write
19-
contents: write
2017

2118
jobs:
2219
spectral-lint:
@@ -49,5 +46,5 @@ jobs:
4946
- name: IPA validation action
5047
uses: stoplightio/spectral-action@2ad0b9302e32a77c1caccf474a9b2191a8060d83
5148
with:
52-
file_glob: ${{ github.workspace }}//v2.yaml
49+
file_glob: v2.yaml
5350
spectral_ruleset: tools/spectral/ipa/ipa-spectral.yaml

0 commit comments

Comments
 (0)