Improve openapi_json fetching fallback #297
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "pulp-docs CI" | |
on: | |
pull_request: | |
concurrency: | |
group: "main-${{ github.ref_name }}-${{ github.workflow }}" | |
cancel-in-progress: true | |
jobs: | |
code-quality: | |
uses: "./.github/workflows/code-quality.yml" | |
build: | |
needs: "code-quality" | |
uses: "./.github/workflows/build.yml" | |
tests: | |
needs: "build" | |
uses: "./.github/workflows/tests.yml" | |
docs: | |
uses: "./.github/workflows/docs-ci.yml" | |
with: | |
pulpdocs_ref: "${{ github.head_ref }}" | |
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" | |
- "tests" | |
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!" | |
... |