Skip to content

Implement api.json generation in pulp-docs #49

Implement api.json generation in pulp-docs

Implement api.json generation in pulp-docs #49

Workflow file for this run

name: "pulp-docs CI"
on:
pull_request:
concurrency:
group: "main-${{ github.ref_name }}-${{ github.workflow }}"
cancel-in-progress: true
jobs:
build:
uses: "./.github/workflows/build.yml"
docs: # docs build test
needs:
- "build"
uses: "./.github/workflows/docs.yml"
tests:
needs: "build"
uses: "./.github/workflows/tests.yml"
ready-to-ship:
# This is a dummy dependent task to have a single entry for the branch protection rules.
runs-on: "ubuntu-latest"
needs:
- "docs"
if: "always()"
steps:
- name: "Collect needed jobs results"
run: |
echo '${{toJson(needs)}}' | jq -r 'to_entries[]|select(.value.result!="success")|.key + ": " + .value.result'
echo '${{toJson(needs)}}' | jq -e 'to_entries|map(select(.value.result!="success"))|length == 0'
echo "CI says: Looks good!"