Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/update-schemastore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ jobs:
persist-credentials: false
- name: Fork and clone SchemaStore
run: gh repo fork SchemaStore/schemastore --clone -- /tmp/schemastore
- name: Create or reset branch from upstream
- name: Sync fork's master with upstream
run: gh repo sync "$(gh api user --jq .login)/schemastore" -b master
- name: Create or reset branch from synced fork
run: |
git fetch upstream master
git switch -C "$BRANCH" upstream/master
git fetch origin master
git switch -C "$BRANCH" origin/master
working-directory: /tmp/schemastore
- name: Update schema and check for changes
id: diff
Expand Down
Loading