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 3518f99 commit 5167c81Copy full SHA for 5167c81
.github/workflows/check-release.yml
@@ -34,7 +34,7 @@ jobs:
34
done
35
36
# Get all files changed ahead of this PR.
37
- git diff --name-only HEAD^..$(git merge-base HEAD origin/main) > changed-files.txt
+ git diff --name-only "HEAD^..$(git merge-base HEAD origin/main)" > changed-files.txt
38
39
CONFLICTS=()
40
for pkg in "${RELEASED_PACKAGES[@]}"; do
@@ -44,7 +44,7 @@ jobs:
44
fi
45
46
47
- CONFLICTS=($(printf "%s\n" "${CONFLICTS[@]}" | sort -u))
+ mapfile -t CONFLICTS < <(printf "%s\n" "${CONFLICTS[@]}" | sort -u)
48
if [ ${#CONFLICTS[@]} -ne 0 ]; then
49
for conflict in "${CONFLICTS[@]}"; do
50
echo "::error:: Release conflict detected in $conflict."
@@ -53,5 +53,3 @@ jobs:
53
else
54
echo "✅ No release conflicts detected."
55
56
-
57
0 commit comments