Skip to content

Sync types_jsonschema from apiextensions-apiserver #32

Sync types_jsonschema from apiextensions-apiserver

Sync types_jsonschema from apiextensions-apiserver #32

name: Sync types_jsonschema from apiextensions-apiserver
on:
schedule:
- cron: "0 0 * * *" # Runs daily at midnight
workflow_dispatch:
jobs:
sync-file:
runs-on: ubuntu-latest
steps:
- name: Checkout This Repository
uses: actions/checkout@v4
- name: Checkout Kubernetes API server
uses: actions/checkout@v4
with:
repository: kubernetes/apiextensions-apiserver
path: apiextensions-apiserver
- name: Install GitHub CLI
run: sudo apt-get install gh
- name: Run sync script
run: |
./hack/keep_json_schema_uptodate.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}