Trigger upstream OpenAPI sync #12
This file contains 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: Trigger upstream OpenAPI sync | |
on: | |
push: | |
paths: | |
- "runner/openapi.json" | |
workflow_dispatch: | |
jobs: | |
trigger-upstream-openapi-sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Trigger docs AI OpenAPI spec update | |
uses: peter-evans/repository-dispatch@v3 | |
with: | |
token: ${{ secrets.DOCS_TRIGGER_PAT }} | |
repository: rickstaa/docs | |
event-type: update-ai-openapi |