diff --git a/.gitea/workflows/post-merge.yml b/.gitea/workflows/post-merge.yml index 4d61351..389948c 100644 --- a/.gitea/workflows/post-merge.yml +++ b/.gitea/workflows/post-merge.yml @@ -219,7 +219,7 @@ jobs: env: REPO_TOKEN: ${{ secrets.REPO_TOKEN }} PYTHONPATH: src - run: python3 -m devx.tools.configure_repo + run: python3 -m devx.tools.configure_repo --repo devx --owner oblachno-oss - name: Notify on failure if: failure() env: diff --git a/src/devx/ci/push_badges.py b/src/devx/ci/push_badges.py index 8bdefb7..0e56819 100644 --- a/src/devx/ci/push_badges.py +++ b/src/devx/ci/push_badges.py @@ -60,8 +60,8 @@ def fetch_latest_master(branch: str = "master") -> None: def generate_badges(output_dir: str) -> None: - """Generate badge SVG files using generate_badges.py.""" - _run([sys.executable, "scripts/generate_badges.py", "--output-dir", output_dir]) + """Generate badge SVG files using devx.tools.generate_badges.""" + _run([sys.executable, "-m", "devx.tools.generate_badges", "--output-dir", output_dir]) badges = list(Path(output_dir).glob("*.svg")) if not badges: raise click.ClickException("No badge SVG files generated") diff --git a/src/devx/gitea_cli.py b/src/devx/gitea_cli.py index 974e445..ddab09c 100644 --- a/src/devx/gitea_cli.py +++ b/src/devx/gitea_cli.py @@ -125,7 +125,7 @@ class TeaCLI: Returns: The created issue as a dict (parsed from tea JSON output). """ - args = ["issues", "create", "--title", title, "--body", body, *self._repo_arg(repo)] + args = ["issues", "create", "--title", title, "--description", body, *self._repo_arg(repo)] output = self._run(args, json_output=False) # tea issues create doesn't output JSON; extract issue number from output # Format: "Created issue #42: