File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1414 - ' tools/spectral/**'
1515 - ' openapi/**.yaml'
1616 - ' package.json'
17+ permissions :
18+ issues : write
19+ contents : write
1720
1821jobs :
1922 spectral-lint :
3437 cache : ' npm'
3538 - name : Install npm dependencies
3639 run : npm install
40+ - name : Fetch OAS file from Dev Branch
41+ run : curl -O "https://raw.githubusercontent.com/mongodb/openapi/refs/heads/dev/openapi/.raw/v2.yaml"
42+ working-directory : ${{ github.workspace }}
3743 - name : Spectral action
3844 uses : stoplightio/spectral-action@2ad0b9302e32a77c1caccf474a9b2191a8060d83
3945 with :
4349 - name : IPA validation action
4450 uses : stoplightio/spectral-action@2ad0b9302e32a77c1caccf474a9b2191a8060d83
4551 with :
46- file_glob : openapi/.raw /v2.yaml
52+ file_glob : ${{ github.workspace }}/ /v2.yaml
4753 spectral_ruleset : tools/spectral/ipa/ipa-spectral.yaml
You can’t perform that action at this time.
0 commit comments