@ligeti/step-git-worktree 2.2.2 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -155,10 +155,8 @@ The shell passes `GIT_SSH_COMMAND` to every worker whose workflow uses `git.push
|
|
|
155
155
|
`ligeti serve` after changing `.env`.
|
|
156
156
|
|
|
157
157
|
A target repository's `pre-push` hook comes from the worktree being pushed from, so only the
|
|
158
|
-
operator decides what it receives. Ligeti's own hook (`scripts/pre-push-gate.sh`)
|
|
159
|
-
|
|
160
|
-
`LIGETI_STEP_GIT_PUSH_ENV=GITLAB_TOKEN,LIGETI_PUBLIC_BASE_URL` where `ligeti serve` runs.
|
|
161
|
-
The hook uses `LIGETI_PUBLIC_BASE_URL` with either store, to ask the shell to gate.
|
|
158
|
+
operator decides what it receives. Ligeti's own hook (`scripts/pre-push-gate.sh`) needs no token, so an operator pushing it sets
|
|
159
|
+
`LIGETI_STEP_GIT_PUSH_ENV=LIGETI_PUBLIC_BASE_URL` where `ligeti serve` runs, so the hook can ask the shell to gate.
|
|
162
160
|
`git.push` itself never reads them; see `docs/attestation.md`'s pre-push hook section.
|
|
163
161
|
|
|
164
162
|
The step also forces `GIT_TERMINAL_PROMPT=0`: it runs inside a worker process with no tty, so a real
|
package/package.json
CHANGED