Skip to content

Merge pull request #886 from Cofinity-X/chore/TRX-30-sync-upstream #73

Merge pull request #886 from Cofinity-X/chore/TRX-30-sync-upstream

Merge pull request #886 from Cofinity-X/chore/TRX-30-sync-upstream #73

Workflow file for this run

name: Analyze API with Spectral
on:
workflow_dispatch: # Trigger manually
push:
branches:
- main
paths:
- 'docs/src/api/**'
- '.config/spectral/**'
jobs:
build:
name: Run Spectral
runs-on: ubuntu-latest
steps:
# Check out the repository
- uses: actions/checkout@v4
# Run Spectral
- uses: stoplightio/spectral-action@latest
with:
file_glob: 'docs/src/api/*.yaml'
spectral_ruleset: '.config/spectral/restCompleteSet.yml'