Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 4 additions & 2 deletions .github/workflows/update-schemastore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ jobs:
- uses: actions/checkout@v6
- name: Fork and clone SchemaStore
run: gh repo fork SchemaStore/schemastore --clone --remote -- /tmp/schemastore
- name: Create or reset branch
run: git switch -C "$BRANCH"
- name: Create or reset branch from upstream
run: |
git fetch upstream master
git switch -C "$BRANCH" upstream/master
working-directory: /tmp/schemastore
- name: Copy schema with SchemaStore $id
run: |
Expand Down
2 changes: 2 additions & 0 deletions docs/changelog/3828.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix SchemaStore update workflow creating PRs with merge conflicts by branching from upstream master - by
:user:`gaborbernat`.