publish --from-tag --skip-build "oblachno/infra" failed with Missing argument 'REPO' because click assigned the first positional to tag, leaving repo missing.
Changes
Make repo argument optional in devx.ci.publish CLI
Auto-detect repo from GITHUB_REPOSITORY env var (set by Gitea Actions)
3 new tests: env-based repo, no-repo-no-env error, --from-tag without repo arg
Closes DEVX-59
## Fix
`publish --from-tag --skip-build "oblachno/infra"` failed with `Missing argument 'REPO'` because click assigned the first positional to `tag`, leaving `repo` missing.
## Changes
- Make `repo` argument optional in `devx.ci.publish` CLI
- Auto-detect repo from `GITHUB_REPOSITORY` env var (set by Gitea Actions)
- 3 new tests: env-based repo, no-repo-no-env error, --from-tag without repo arg
Closes DEVX-59
Documentation: WARNING — source files changed but no docs updated
Tests: OK
Commit conventions: OK
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
## Automated PR Review
- Architecture compliance: OK
- Best practices: OK
- Security: OK
- i18n: OK
- Resource management: OK
- Documentation: WARNING — source files changed but no docs updated
- Tests: OK
- Commit conventions: OK
No issues found by automated checks.
---
**Auto-merge:** If all CI checks pass, this PR will be merged automatically.
emil
merged commit 701363d935 into master2026-06-26 00:17:56 +00:00
emil
deleted branch DEVX-59-fix-publish-repo-arg-optional2026-06-26 00:17:56 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fix
publish --from-tag --skip-build "oblachno/infra"failed withMissing argument 'REPO'because click assigned the first positional totag, leavingrepomissing.Changes
repoargument optional indevx.ci.publishCLIGITHUB_REPOSITORYenv var (set by Gitea Actions)Closes DEVX-59
Automated PR Review
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.