Sync types_jsonschema from apiextensions-apiserver #73
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: 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 }} |