fix: resolve YAML syntax error in PR body
This commit is contained in:
@@ -178,18 +178,20 @@ env:
|
|||||||
# Get commit messages for PR description
|
# Get commit messages for PR description
|
||||||
COMMITS=$(git log origin/master..origin/"${BRANCH}" --pretty=format:"%h %s" | sed 's/^/- /')
|
COMMITS=$(git log origin/master..origin/"${BRANCH}" --pretty=format:"%h %s" | sed 's/^/- /')
|
||||||
|
|
||||||
|
PR_BODY="Automated package updates using nix-update.
|
||||||
|
|
||||||
|
Updated packages:
|
||||||
|
${PACKAGES}
|
||||||
|
|
||||||
|
Commits:
|
||||||
|
${COMMITS}"
|
||||||
|
|
||||||
# Create PR
|
# Create PR
|
||||||
/tmp/tea pr create \
|
/tmp/tea pr create \
|
||||||
--head "${BRANCH}" \
|
--head "${BRANCH}" \
|
||||||
--base master \
|
--base master \
|
||||||
--title "chore: update packages with nix-update" \
|
--title "chore: update packages with nix-update" \
|
||||||
--body "Automated package updates using nix-update.
|
--body "${PR_BODY}" \
|
||||||
|
|
||||||
**Updated packages:**
|
|
||||||
${PACKAGES}
|
|
||||||
|
|
||||||
**Commits:**
|
|
||||||
${COMMITS}" \
|
|
||||||
--assignees m3tam3re \
|
--assignees m3tam3re \
|
||||||
--labels automated-update || echo "Failed to create PR. Please create manually."
|
--labels automated-update || echo "Failed to create PR. Please create manually."
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user