Skip to content

Commit

Permalink
Changeset to fetch all branches to ensure we have the full git history
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisli30 committed Oct 27, 2024
1 parent a08c758 commit bdbcfc3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/pr-changeset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
# Add these lines to fetch all branches
fetch-tags: true

- name: Fetch main branch
run: |
git fetch origin main:main
- name: Setup Node.js
uses: actions/setup-node@v3
Expand Down

0 comments on commit bdbcfc3

Please sign in to comment.