Skip to content

Commit fe84564

Browse files
committed
Update check-example-sync-conflict.yml
1 parent 1445c7c commit fe84564

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/check-example-sync-conflict.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ jobs:
9898
OVERLAP_LIST=$(echo "$OVERLAP" | jq -r '.[] | "- `\(.)`"')
9999
SYNC_PR_LINKS=$(echo "$SYNC_PR_URLS" | tr ' ' '\n' | grep -v '^$' | sed 's/^/- /')
100100
101-
COMMENT_BODY=$(cat <<EOF
102-
${MARKER}
101+
COMMENT_BODY="${MARKER}
103102
⚠️ **Potential sync conflict detected**
104103

105104
This PR modifies example tutorial files that are also modified in open sync PR(s) on \`cosmos/example\`:
@@ -108,9 +107,7 @@ ${SYNC_PR_LINKS}
108107
**Overlapping files:**
109108
${OVERLAP_LIST}
110109

111-
These files are kept in sync between the two repos. Merging this PR before the sync PR is resolved may cause conflicts. Please coordinate with the sync PR author or wait until it is merged first.
112-
EOF
113-
)
110+
These files are kept in sync between the two repos. Merging this PR before the sync PR is resolved may cause conflicts. Please coordinate with the sync PR author or wait until it is merged first."
114111

115112
# Update existing comment or post a new one
116113
EXISTING_COMMENT=$(gh api "repos/cosmos/docs/issues/$PR_NUMBER/comments" \

0 commit comments

Comments
 (0)