mirror of
https://github.com/ai-robots-txt/ai.robots.txt.git
synced 2026-08-30 12:54:04 +02:00
`git commit -m "${{ github.event.head_commit.message }}"` splices arbitrary text
straight into a double-quoted bash string. A message containing a double quote
closes the string early and the remainder is re-parsed as shell words.
This is what broke main after #248 merged. That PR's title contained
"Unclear at this time." (with quotes), so the merge commit message did too, and
the line bash actually ran was:
git commit -m "Fill "Unclear at this time." from primary operator docs ..."
which git received as:
-m "Fill Unclear" at this "time. from primary operator docs ..."
Hence `error: pathspec 'at' did not match any file(s) known to git`, a failed
run, and the revert in
|
||
|---|---|---|
| .. | ||
| ai_robots_update.yml | ||
| main.yml | ||
| run-tests.yml | ||
| upload-robots-txt-file-to-release.yml | ||