Skip to content

Commit e61ac72

Browse files
castrojoCopilot
andcommitted
fix(ci): fix YAML syntax in nightly update workflow
Replace heredoc commit message with printf to avoid YAML parser confusion from unindented lines inside run: block scalars. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent cfe8276 commit e61ac72

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/update-mozilla-nightly.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Update Mozilla Nightly sha256s
22

33
on:
44
schedule:
5-
- cron: '0 6 * * 1' # Monday 6am UTC
5+
- cron: '0 6 * * *' # Daily 6am UTC
66
workflow_dispatch:
77

88
permissions:
@@ -86,13 +86,8 @@ jobs:
8686
echo "tb_changed=$TB_MANIFEST_CHANGED" >> "$GITHUB_OUTPUT"
8787
8888
git add flatpaks/firefox-nightly/manifest.yaml flatpaks/thunderbird-nightly/manifest.yaml
89-
git commit -m "chore(nightly): update Mozilla nightly sha256s
90-
91-
Auto-refresh sha256 for firefox-nightly and thunderbird-nightly.
92-
Mozilla rebuilds nightly at the same URL daily; version string stays
93-
150.0a1 so Renovate cannot track this.
94-
95-
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>"
89+
printf 'chore(nightly): update Mozilla nightly sha256s\n\nAuto-refresh sha256 for firefox-nightly and thunderbird-nightly.\nMozilla rebuilds nightly at the same URL daily; version string stays\n150.0a1 so Renovate cannot track this.\n\nCo-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>\n' > /tmp/nightly-commit-msg.txt
90+
git commit -F /tmp/nightly-commit-msg.txt
9691
git pull --rebase
9792
git push
9893

0 commit comments

Comments
 (0)