Skip to content

ci: modernize workflows to OpenVoiceOS/gh-automations@dev (enable PyPI publish)#22

Merged
JarbasAl merged 1 commit into
devfrom
ci/modernize-workflows
Jun 25, 2026
Merged

ci: modernize workflows to OpenVoiceOS/gh-automations@dev (enable PyPI publish)#22
JarbasAl merged 1 commit into
devfrom
ci/modernize-workflows

Conversation

@JarbasAl

@JarbasAl JarbasAl commented Jun 25, 2026

Copy link
Copy Markdown
Member

The package is absent from PyPI because the release workflow used TigreGotico/gh-automations@master (billing-blocked Actions) with a setup.py input the pyproject-only repo doesn't have — so the alpha publish never ran.

Ports the modern OpenVoiceOS/gh-automations@dev workflow set (mirroring ovos-media-plugin-vlc): publish-alpha with publish_pypi/propose_release/publish_prerelease, build-tests (py3.10–3.14), coverage, lint, opm-check, license, pip-audit, repo-health, release-preview. Package refs retargeted to ovos_plugin_mpv.

Merging this triggers the first successful PyPI alpha, unblocking it as the mpv backend in ovos-audio[extras] (currently covered by ovos-media-plugin-vlc).

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Added a new code coverage workflow for pull requests and manual runs.
    • Updated release automation to support streamlined publishing and notifications.
  • Bug Fixes

    • Adjusted the checked plugin entry point to match the current package name.
    • Excluded a specific package from license checks to avoid false positives.
  • Chores

    • Simplified several CI workflows by delegating more work to reusable automation.

…I publish)

The release workflow called TigreGotico/gh-automations@master with a setup.py
input (the repo is pyproject-only), and TigreGotico Actions are billing-blocked,
so the alpha publish never ran — leaving the package absent from PyPI despite
tagged releases. Port the full modern OpenVoiceOS/gh-automations@dev workflow set
(matching ovos-media-plugin-vlc): publish-alpha with publish_pypi/propose_release/
publish_prerelease, build-tests across py3.10-3.14, coverage, lint, opm-check,
license, pip-audit, repo-health, release-preview. Package refs retargeted to
ovos_plugin_mpv / ovos-media-plugin-mpv.
@coderabbitai

coderabbitai Bot commented Jun 25, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Walkthrough

The PR adds a new coverage workflow, updates several validation workflow inputs, and rewrites the alpha and stable release workflows to use reusable release pipelines with new triggers, permissions, and secret wiring.

Changes

Workflow Checks

Layer / File(s) Summary
Coverage workflow
.github/workflows/coverage.yml
Adds a new coverage workflow triggered on pull requests to dev and manual dispatch.
Workflow input updates
.github/workflows/conventional-label.yml, .github/workflows/license_check.yml, .github/workflows/opm-check.yml
Updates the conventional label action reference, excludes python-vlc from license checks, and changes the OPM check entry point.

Release Workflows

Layer / File(s) Summary
Alpha release workflow
.github/workflows/release_workflow.yml
Adds manual dispatch and workflow permissions, then replaces the previous multi-job release pipeline with one reusable publish job.
Stable release workflow
.github/workflows/publish_stable.yml
Replaces the inline stable publishing jobs with a reusable publish-stable workflow call and updated trigger, permission, and secret settings.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Poem

🐰 I hop through workflows, neat and bright,
Coverage pings in the soft moonlight.
Releases leap with reusable flair,
Secret carrots tucked with care.
Hoppy builds now run just right.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the workflow modernization and PyPI publishing enablement.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/modernize-workflows

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown

Greetings! I've analyzed your changes and have some results to share. 🖖

I've aggregated the results of the automated checks for this PR below.

🔍 Lint

A detailed summary of the latest automation run. 📝

ruff: issues found — see job log

🔒 Security (pip-audit)

Scanning for any signs of suspicious activity. 🕵️‍♂️

✅ No known vulnerabilities found (61 packages scanned).

⚖️ License Check

Checking for any missing license headers. ✍️

✅ No license violations found.

Policy: Apache 2.0 (universal donor). StrongCopyleft / NetworkCopyleft / WeakCopyleft / Other / Error categories fail. MPL allowed.

🏷️ Release Preview

Predicting the ripple effect of this release. 🌊

Current: 1.0.0a1Next: 1.0.0a2

Signal Value
Label (none)
PR title ci: modernize workflows to OpenVoiceOS/gh-automations@dev (enable PyPI publish)
Bump alpha

✅ PR title follows conventional commit format.


🚀 Release Channel Compatibility

Predicted next version: 1.0.0a2

Channel Status Note Current Constraint
Stable Not in channel -
Testing Not in channel -
Alpha Not in channel -

📋 Repo Health

I've checked the repo's memory (aka git history). 🧠

✅ All required files present.

Latest Version: 1.0.0a1

ovos_plugin_mpv/version.py — Version file
README.md — README
LICENSE — License file
pyproject.toml — pyproject.toml
⚠️ setup.py — setup.py
CHANGELOG.md — Changelog
ovos_plugin_mpv/version.py has valid version block markers

🔨 Build Tests

Testing the recipe! Did the build turn out okay? 👨‍🍳

✅ All versions pass

Python Build Install Tests
3.10
3.11
3.12
3.13
3.14

Helping you build the future of voice, one check at a time. 🎙️

@JarbasAl JarbasAl merged commit 83b9010 into dev Jun 25, 2026
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant