We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fc29e3 commit f71052dCopy full SHA for f71052d
.github/workflows/snapshot-release.yml
@@ -63,7 +63,13 @@ jobs:
63
ref: ${{ steps.refs.outputs.head_ref }}
64
fetch-depth: 0
65
66
- - run: git fetch origin main:main
+ - name: Extract base branch from .changeset/config.json
67
+ id: getBaseBranch
68
+ run: |
69
+ baseBranch=$(jq -r '.baseBranch' .changeset/config.json)
70
+ echo "baseBranch=${baseBranch}" >> $GITHUB_OUTPUT
71
+
72
+ - run: git fetch origin ${{ steps.getBaseBranch.outputs.baseBranch }}:${{ steps.getBaseBranch.outputs.baseBranch }}
73
74
- name: Setup PNPM
75
uses: pnpm/action-setup@v3
0 commit comments