Commit 29e9b01
authored
chore: fix release workflow dispatch repo resolution (#2057)
## What changed
Pass `--repo "${GITHUB_REPOSITORY}"` to the `gh workflow run
release.yml` call in `release-please.yml`.
## Why
The `Release Please` workflow dispatch step runs without a checkout, so
`gh` cannot infer the repository from `.git`. The failed run for
`v1.6.0` stopped with `fatal: not a git repository` before `release.yml`
was dispatched.
## Impact
This allows the existing release workflow to be triggered from the
`Release Please` job without adding an unnecessary checkout step.
## Validation
- Inspected the failing Actions job `73146303246` and confirmed the
dispatch step was the failure point.
- Verified comparable repositories commonly pass `--repo` explicitly
when dispatching workflows from Actions.
- Ran `mise run lint` locally.
## Follow-up
After this lands, `release.yml` can be manually dispatched with
`tag=v1.6.0` to publish the existing tag.1 parent a1530df commit 29e9b01
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
0 commit comments