From 36db58307af3efe7baf8cada98e4f5fe429d1d95 Mon Sep 17 00:00:00 2001 From: m3tm3re
Date: Wed, 14 Jan 2026 20:32:51 +0100 Subject: [PATCH] fix: resolve YAML syntax error in PR body --- .gitea/workflows/nix-update.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/nix-update.yml b/.gitea/workflows/nix-update.yml index 5692c96..e3b64eb 100644 --- a/.gitea/workflows/nix-update.yml +++ b/.gitea/workflows/nix-update.yml @@ -178,18 +178,20 @@ env: # Get commit messages for PR description 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 /tmp/tea pr create \ --head "${BRANCH}" \ --base master \ --title "chore: update packages with nix-update" \ - --body "Automated package updates using nix-update. - -**Updated packages:** -${PACKAGES} - -**Commits:** -${COMMITS}" \ + --body "${PR_BODY}" \ --assignees m3tam3re \ --labels automated-update || echo "Failed to create PR. Please create manually."