feat(plugin): Support multiple marketplace registrations with auto-load semantics #1610
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: '[Optional] Docs example' | |
| on: | |
| pull_request: | |
| branches: | |
| - '**' | |
| paths: | |
| - examples/**/*.py | |
| - '!examples/03_github_workflows/**' | |
| - '!examples/04_llm_specific_tools/**' | |
| - .github/workflows/check-documented-examples.yml | |
| - .github/scripts/check_documented_examples.py | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| jobs: | |
| check-examples: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout agent-sdk repository | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Checkout docs repository (try feature branch) | |
| uses: actions/checkout@v5 | |
| continue-on-error: true | |
| id: checkout-feature | |
| with: | |
| repository: OpenHands/docs | |
| path: docs | |
| fetch-depth: 0 | |
| ref: ${{ github.head_ref || github.ref_name }} | |
| - name: Checkout docs repository (fallback to main) | |
| if: steps.checkout-feature.outcome == 'failure' | |
| uses: actions/checkout@v5 | |
| with: | |
| repository: OpenHands/docs | |
| path: docs | |
| fetch-depth: 0 | |
| ref: main | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.13' | |
| - name: Check documented examples | |
| env: | |
| DOCS_PATH: ${{ github.workspace }}/docs | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| python .github/scripts/check_documented_examples.py |