Skip to content

Added decision log for real-time ratings #152

Added decision log for real-time ratings

Added decision log for real-time ratings #152

Workflow file for this run

name: 'OpenAPI lint'
on:
workflow_dispatch:
pull_request:
branches:
- 1.0.0*
permissions:
contents: read
jobs:
build:
name: "Redocly Lint"
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Lint
uses: actions/setup-node@v4
with:
node-version: 20
- run: >-
npx --yes @redocly/cli bundle ./docs/_data/openapi-split.yaml -o ./docs/openapi.yaml &&
npx @redocly/cli lint ./docs/openapi.yaml
- name: Redocly API Stats
id: api_stats
run: npx @redocly/cli stats ./docs/openapi.yaml > stats.txt 2>&1
- name: Comment PR with API Stats
#if: ${{ github.event.pull_request }}
if: ${{ false }}
uses: thollander/actions-comment-pull-request@v2.4.3
with:
comment_tag: api-stats
filePath: stats.txt