DEVX-59: Fix publish CLI: make repo arg optional, auto-detect from GITHUB_REPOSITORY #97

Merged
emil merged 0 commits from DEVX-59-fix-publish-repo-arg-optional into master 2026-06-26 00:17:56 +00:00
Owner

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

## 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
emil added the ready-to-merge label 2026-06-26 00:16:37 +00:00
emil reviewed 2026-06-26 00:17:12 +00:00
emil left a comment
Author
Owner

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.

## 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 master 2026-06-26 00:17:56 +00:00
emil deleted branch DEVX-59-fix-publish-repo-arg-optional 2026-06-26 00:17:56 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: oblachno-oss/devx#97