Skip to content

Commit

Permalink
update CI changeset check to use main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusmarminge committed Nov 1, 2023
1 parent f3e509c commit 2052334
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ jobs:

- name: Check and Validate Changes in /cli
run: |
git fetch origin next:next
changes=$(git diff --name-only next...${{ github.sha }} | grep '^cli/' || true)
git fetch origin main:main
changes=$(git diff --name-only main...${{ github.sha }} | grep '^cli/' || true)
if [[ -n "$changes" ]]; then
echo "Changes detected in /cli: $changes"
pnpm changeset status --since origin/next
pnpm changeset status --since origin/main
exit_status=$?
if [[ $exit_status -eq 0 ]]; then
echo "Changeset validation succeeded."
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ and fill out the title and body appropriately. Again, make sure to follow the [c

## Translations

For more information on how to help with translation, please see the [contributing guidelines for our docs](https://github.com/t3-oss/create-t3-app/blob/next/www/TRANSLATIONS.md).
For more information on how to help with translation, please see the [contributing guidelines for our docs](https://github.com/t3-oss/create-t3-app/blob/main/www/TRANSLATIONS.md).

## Credits

Expand Down

0 comments on commit 2052334

Please sign in to comment.