Skip to content

Commit

Permalink
chore: changeset check
Browse files Browse the repository at this point in the history
  • Loading branch information
kiner-tang committed Dec 29, 2023
1 parent 4688b52 commit b23f9fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/changeset-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- name: Check for major changes
run: |
changed_files=$(git diff --name-only "HEAD..HEAD~1")
changed_files=$(git diff --name-only -- "HEAD..HEAD~1")
files=$(echo "$changed_files" | grep "\.changeset")
major_changes=$(grep -c "major" $files)
echo "$major_changes major changes found."
Expand Down

0 comments on commit b23f9fe

Please sign in to comment.