1
0
mirror of synced 2026-01-05 21:04:17 -05:00

GitHub models REST API docs (#55288)

Co-authored-by: Roniece Ricardo <33437850+RonRicardo@users.noreply.github.com>
Co-authored-by: Daniel Garman <garman@github.com>
Co-authored-by: SiaraMist <siaramist@github.com>
Co-authored-by: Evan Bonsignori <ebonsignori@github.com>
This commit is contained in:
Kevin Heis
2025-05-15 11:56:40 -07:00
committed by GitHub
parent a22ff5ceaf
commit f7a477b87b
19 changed files with 1073 additions and 61 deletions

View File

@@ -42,6 +42,13 @@ jobs:
path: rest-api-description
ref: ${{ inputs.SOURCE_BRANCH }}
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
# By default, only the most recent commit of the `main` branch
# will be checked out
repository: github/models-gateway
path: models-gateway
- uses: ./.github/actions/node-npm-setup
- name: Sync the REST, Webhooks, and GitHub Apps schemas
@@ -49,7 +56,9 @@ jobs:
# Needed for gh
GITHUB_TOKEN: ${{ secrets.DOCS_BOT_PAT_BASE }}
run: |
npm run sync-rest -- --source-repo rest-api-description --output rest github-apps webhooks rest-redirects
npm run sync-rest -- \
--source-repos rest-api-description models-gateway \
--output rest github-apps webhooks rest-redirects
git status
echo "Deleting the cloned github/rest-api-description repo..."
rm -rf rest-api-description