Skip to content

Commit

Permalink
chore: 🤖 TIAS changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
heldrida committed Aug 15, 2024
1 parent 5f95fce commit 375a6f3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/changeset-version-management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,12 @@ jobs:
echo "[debug] git diff-tree $commitHash"
git diff-tree --no-commit-id --name-only "$commitHash"
res=$(git diff-tree --no-commit-id --name-only "$commitHash" | grep -q "$changesetArtifactsPath")
echo "[debug] res $res"
# If no changes found, skip
if git diff-tree --no-commit-id --name-only "$commitHash" | grep -q "$changesetArtifactsPath"; then
if ! git diff-tree --no-commit-id --name-only "$commitHash" | grep -q "$changesetArtifactsPath"; then
echo "⚠️ Warning: The .changeset directory doesn't have new changesets, should skip!"
skip="true"
fi
Expand Down

0 comments on commit 375a6f3

Please sign in to comment.