Skip to content

Commit b06df19

Browse files
committed
ci: set POETRY=poetry in release job so make targets use Poetry's managed venv
The pre-tag gates (run-pre-commit/audit/checkmigrations) called tools from venv/bin, but without POETRY set the Makefile takes its ./venv branch while Poetry installs into its own managed virtualenv, so venv/bin/pre-commit never existed and the gate failed with exit 127. python.yaml already sets this workflow-wide; mirror it on the release job.
1 parent bce1507 commit b06df19

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
release:
3030
runs-on: ubuntu-latest
3131
environment: release
32+
env:
33+
POETRY: poetry
3234
steps:
3335
- name: Restrict to release managers
3436
if: github.actor != 'yyyyyyyan' && github.actor != 'maxbube'

0 commit comments

Comments
 (0)