Skip to content

Commit 2d5d605

Browse files
committed
ci: fix YAML scoping in sync-brew-formula commit message
1 parent a4c4058 commit 2d5d605

1 file changed

Lines changed: 15 additions & 9 deletions

File tree

.github/workflows/sync-brew-formula.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,21 @@ jobs:
8888
git config user.name "${PAT_LOGIN}"
8989
git config user.email "${PAT_ID}+${PAT_LOGIN}@users.noreply.github.com"
9090
91-
git add Formula/deepgram.rb
92-
git commit -m "Add rust + pkgconf as build-time deps for cryptography and pydantic_core
91+
MSG_FILE="$(mktemp)"
92+
cat > "${MSG_FILE}" <<'EOF'
93+
Add rust + pkgconf as build-time deps for cryptography and pydantic_core
94+
95+
Manual sync from deepgram/cli's sync-brew-formula workflow. Fixes
96+
'brew install deepgram/tap/deepgram' failing during cryptography and
97+
pydantic_core source builds: both compile Rust extensions via maturin,
98+
and Language::Python::Virtualenv defaults to --no-binary :all: so the
99+
precompiled wheels are bypassed and the Rust toolchain has to be
100+
available during install.
93101
94-
Manual sync from deepgram/cli's sync-brew-formula workflow. Fixes
95-
'brew install deepgram/tap/deepgram' failing during cryptography and
96-
pydantic_core source builds: both compile Rust extensions via maturin,
97-
and Language::Python::Virtualenv defaults to --no-binary :all: so the
98-
precompiled wheels are bypassed and the Rust toolchain has to be
99-
available during install.
102+
Same pattern homebrew-core's Aider, ansible, azure-cli use.
103+
EOF
100104
101-
Same pattern homebrew-core's Aider, ansible, azure-cli use."
105+
git add Formula/deepgram.rb
106+
git commit -F "${MSG_FILE}"
102107
git push
108+
rm -f "${MSG_FILE}"

0 commit comments

Comments
 (0)