Skip to content

feat: [SRTP-41] Send RTP OpenAPI #12

feat: [SRTP-41] Send RTP OpenAPI

feat: [SRTP-41] Send RTP OpenAPI #12

name: Run Spectral on Pull Requests
on:
pull_request:
paths:
- '**/api/**/*.yaml'
- '**/api/**/*.yml'
permissions:
checks: write
jobs:
build:
name: Run Spectral
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Run Spectral
- uses: stoplightio/spectral-action@2ad0b9302e32a77c1caccf474a9b2191a8060d83 #v0.8.11
with:
file_glob: '**/api/**/(*.yaml|*.yml)'
repo_token: ${{ secrets.GITHUB_TOKEN }}