Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
8e9ec5e
Update downstream dependencies for ovos-workshop
github-actions[bot] Nov 10, 2025
67cefdc
Update downstream dependencies for ovos-workshop
github-actions[bot] Nov 11, 2025
684dda6
Update downstream dependencies for ovos-workshop
github-actions[bot] Nov 18, 2025
e511a6e
Update downstream dependencies for ovos-workshop
github-actions[bot] Nov 19, 2025
01daa39
Update downstream dependencies for ovos-workshop
github-actions[bot] Nov 20, 2025
f032378
Update downstream dependencies for ovos-workshop
github-actions[bot] Nov 21, 2025
16eb4b0
Update downstream dependencies for ovos-workshop
github-actions[bot] Nov 22, 2025
1ba02d1
Merge pull request #375 from OpenVoiceOS/fix/wait_for_core
JarbasAl Dec 16, 2025
c395207
Increment Version to 8.0.1a1
JarbasAl Dec 16, 2025
0b77902
Update Changelog
JarbasAl Dec 16, 2025
73ed1e6
Add renovate.json (#377)
renovate[bot] Dec 18, 2025
bc48792
Increment Version to 8.0.1a2
JarbasAl Dec 18, 2025
a241d58
Update Changelog
JarbasAl Dec 18, 2025
d404fb6
chore(deps): update dependency python to 3.14 (#378)
renovate[bot] Dec 19, 2025
8950924
Increment Version to 8.0.1a3
JarbasAl Dec 19, 2025
65d7639
Update Changelog
JarbasAl Dec 19, 2025
5c84300
chore(deps): update actions/checkout action to v6 (#379)
renovate[bot] Dec 27, 2025
2e8c00d
chore(deps): update actions/setup-python action to v6 (#382)
renovate[bot] Dec 27, 2025
6b06006
Increment Version to 8.0.1a4
JarbasAl Dec 27, 2025
53709a5
Update Changelog
JarbasAl Dec 27, 2025
5d89c54
Update downstream.yml
JarbasAl Dec 27, 2025
d88c323
Update downstream.yml
JarbasAl Dec 27, 2025
323357e
Update downstream dependencies for ovos-workshop
github-actions[bot] Dec 27, 2025
2a940a6
Add French workshop locale resources (#385)
goldyfruit Mar 9, 2026
d369646
Update downstream dependencies for ovos-workshop
github-actions[bot] Mar 9, 2026
1f7aba1
Tests docs automations (#386)
JarbasAl Mar 11, 2026
7f5db3d
Increment Version to 8.0.1a5
JarbasAl Mar 11, 2026
ea76fe2
Update Changelog
JarbasAl Mar 11, 2026
e12559e
fix(i18n): normalize locale folder names to canonical BCP-47 form (#392)
JarbasAl Apr 3, 2026
6cb1312
Increment Version to 8.0.2a1
JarbasAl Apr 3, 2026
ec9ff79
Update Changelog
JarbasAl Apr 3, 2026
af3d793
fix: use list.remove() instead of list.pop() in whitelist_skill (#394)
JarbasAl Apr 8, 2026
7e0fd1a
Increment Version to 8.0.3a1
JarbasAl Apr 8, 2026
99fccf8
Update Changelog
JarbasAl Apr 8, 2026
acbd438
fix: update locale lookups and tests after BCP-47 folder rename (#395)
JarbasAl Apr 8, 2026
f33066e
Increment Version to 8.0.4a1
JarbasAl Apr 8, 2026
446e661
Update Changelog
JarbasAl Apr 8, 2026
6382d0a
chore: remove deprecated class flagged for removal in 4.0.0 (#400)
JarbasAl Apr 8, 2026
cfa36d6
Increment Version to 8.0.4a2
JarbasAl Apr 8, 2026
5a1d260
Update actions/checkout action to v6 (#401)
renovate[bot] Apr 8, 2026
1bb54e0
Update actions/setup-python action to v6 (#402)
renovate[bot] Apr 8, 2026
1a79a15
Increment Version to 8.0.4a3
JarbasAl Apr 8, 2026
ce75756
Update Changelog
JarbasAl Apr 8, 2026
931f247
Increment Version to 8.0.4a4
JarbasAl Apr 8, 2026
0f78ea7
feat: use JSON-based euphony rules for word list joining (#405)
JarbasAl Apr 8, 2026
98a8c85
Increment Version to 8.1.0a1
JarbasAl Apr 8, 2026
1c73d1e
Update Changelog
JarbasAl Apr 8, 2026
a04523f
feat: yesno/selection agent plugins (#390)
JarbasAl Apr 9, 2026
a3b0819
Increment Version to 8.2.0a1
JarbasAl Apr 9, 2026
779e54b
Update Changelog
JarbasAl Apr 9, 2026
b632edd
fix(deps): allow ovos-bus-client 2.x (widen <2.0.0 -> <3.0.0) (#416)
JarbasAl Jun 6, 2026
1578705
Increment Version to 8.2.1a1
JarbasAl Jun 6, 2026
3c81a6d
Update Changelog
JarbasAl Jun 6, 2026
477c66c
feat: emit OVOS spec topic ovos.utterance.speak (#425)
JarbasAl Jun 25, 2026
a876401
Increment Version to 8.3.0a1
JarbasAl Jun 25, 2026
9234a41
Update Changelog
JarbasAl Jun 25, 2026
0ce90f5
refactor: intent layers gate via intent context, not enable/disable (…
JarbasAl Jun 26, 2026
83c84f7
Increment Version to 9.0.0a1
JarbasAl Jun 26, 2026
e4ef6f7
Update Changelog
JarbasAl Jun 26, 2026
aee319b
fix: allow latest padacioso (widen cap <2.0.0 -> <3.0.0) (#433)
JarbasAl Jun 27, 2026
5701e51
Increment Version to 9.0.1a1
JarbasAl Jun 27, 2026
b3c55d6
Update Changelog
JarbasAl Jun 27, 2026
b4449ae
refactor: re-export intent-definition primitives from ovos-spec-tools…
JarbasAl Jun 27, 2026
cf64ac2
Increment Version to 9.0.1a2
JarbasAl Jun 27, 2026
f48acd4
Update Changelog
JarbasAl Jun 27, 2026
3bc6be5
docs: mark mycroft.skill.handler.* as internal workshop->core sync (#…
JarbasAl Jun 28, 2026
6d761da
Increment Version to 9.0.1a3
JarbasAl Jun 28, 2026
cecbeca
Update Changelog
JarbasAl Jun 28, 2026
bf87625
refactor: use SpecMessage enum for spec topic strings (#438)
JarbasAl Jun 28, 2026
3bb157b
Increment Version to 9.0.1a4
JarbasAl Jun 28, 2026
7be1f20
Update Changelog
JarbasAl Jun 28, 2026
40c7757
refactor: delegate handler-lifecycle done-signal to HandlerLifecycle …
JarbasAl Jun 28, 2026
5c8bcfc
Increment Version to 9.0.1a5
JarbasAl Jun 28, 2026
a69d4f6
Update Changelog
JarbasAl Jun 28, 2026
c0e3366
fix: stop emitting ovos.utterance.handled when ovos-core owns it (#442)
JarbasAl Jun 28, 2026
8b529d7
Increment Version to 9.0.2a1
JarbasAl Jun 28, 2026
c94945a
Update Changelog
JarbasAl Jun 28, 2026
3166395
Update ovos-adapt-parser requirement in /requirements (#444)
dependabot[bot] Jul 2, 2026
f5fa236
fix: intent-layers e2e + utterance.handled test, bump pins (#446)
JarbasAl Jul 2, 2026
530f5db
Increment Version to 9.0.3a1
JarbasAl Jul 2, 2026
66dd30c
Update Changelog
JarbasAl Jul 2, 2026
46488ec
Increment Version to 9.0.4a1
JarbasAl Jul 2, 2026
af30244
feat: support .blacklist locale resource for intents (#450)
JarbasAl Jul 2, 2026
22b843f
Increment Version to 9.1.0a1
JarbasAl Jul 2, 2026
ff771d4
Update Changelog
JarbasAl Jul 2, 2026
13395c5
fix: resolve inline <voc> references when loading .intent/.blacklist …
JarbasAl Jul 3, 2026
75aface
Increment Version to 9.1.1a1
JarbasAl Jul 3, 2026
3c8b7d2
Update Changelog
JarbasAl Jul 3, 2026
2a9bfbf
feat: emit OVOS-INTENT-2 §4.3 entity/slot blacklist on registration (…
JarbasAl Jul 3, 2026
c39ed20
Increment Version to 9.2.0a1
JarbasAl Jul 3, 2026
72993f3
Update Changelog
JarbasAl Jul 3, 2026
d69885d
fix: skip malformed template lines instead of failing the whole resou…
JarbasAl Jul 17, 2026
1daaee6
Increment Version to 9.2.1a1
JarbasAl Jul 17, 2026
16d0908
Update Changelog
JarbasAl Jul 17, 2026
948b725
fix: expand inline <voc> refs before registering intents to the engine
JarbasAl Jul 3, 2026
319c718
Merge pull request #458 from OpenVoiceOS/fix/inline-voc-padatious-reg…
JarbasAl Jul 17, 2026
6721041
Increment Version to 9.2.2a1
JarbasAl Jul 17, 2026
6b1270f
Update Changelog
JarbasAl Jul 17, 2026
705b8af
fix: bound inline-vocab expansion and dedupe intent re-registration (…
JarbasAl Jul 17, 2026
5c56b08
Increment Version to 9.2.3a1
JarbasAl Jul 17, 2026
46d646a
Update Changelog
JarbasAl Jul 17, 2026
2c8a506
fix: require ovos-core with OVOS-CONTEXT-1 set_context mirror (#459)
JarbasAl Jul 18, 2026
b8ad5ba
Increment Version to 9.2.4a1
JarbasAl Jul 18, 2026
63ab523
Update Changelog
JarbasAl Jul 18, 2026
b04e9b4
fix: correct default_shutdown() docstring to not claim it calls shutd…
JarbasAl Jul 23, 2026
8d29c58
Increment Version to 9.2.5a1
JarbasAl Jul 23, 2026
e2896ed
Update Changelog
JarbasAl Jul 23, 2026
b234cc5
fix: play_audio docstring wait timeout says 15s, actual default is 30…
JarbasAl Jul 23, 2026
a5826c7
Increment Version to 9.2.6a1
JarbasAl Jul 23, 2026
67e8bc2
Update Changelog
JarbasAl Jul 23, 2026
3c75865
chore: import EnclosureAPI from ovos-gui-api-client (#480)
JarbasAl Jul 23, 2026
d5ea174
Increment Version to 9.2.6a2
JarbasAl Jul 23, 2026
c7d9a3b
Update Changelog
JarbasAl Jul 23, 2026
95af3ef
fix: migrate internal calls off deprecated ovos_utils/resource shims …
JarbasAl Jul 24, 2026
096a25b
Increment Version to 9.2.7a1
JarbasAl Jul 24, 2026
14e01a3
Update Changelog
JarbasAl Jul 24, 2026
dd908e1
fix: gate ovos.utterance.handled in converse/fallback when core owns …
JarbasAl Jul 24, 2026
55ff0f1
Increment Version to 9.2.8a1
JarbasAl Jul 24, 2026
2f62544
Update Changelog
JarbasAl Jul 24, 2026
bb87994
fix: compare ovos_core.version tuple in _core_owns_utterance_handled …
JarbasAl Jul 24, 2026
1d0853a
Increment Version to 9.2.9a1
JarbasAl Jul 24, 2026
3b46a55
Update Changelog
JarbasAl Jul 24, 2026
372bf2e
fix: keep .voc filename case in load_skill_vocabulary (#485)
JarbasAl Jul 24, 2026
f38ec4f
Increment Version to 9.2.10a1
JarbasAl Jul 24, 2026
98e9939
Update Changelog
JarbasAl Jul 24, 2026
ac54fa0
feat: emit OVOS-INTENT-4 registration topics (dual-emit with legacy) …
JarbasAl Jul 24, 2026
4546cdf
Increment Version to 9.3.0a1
JarbasAl Jul 24, 2026
e0e7328
Update Changelog
JarbasAl Jul 24, 2026
0a60f03
test: e2e regression guard for INTENT-4 keyword samples with CamelCas…
JarbasAl Jul 24, 2026
c98d25c
Increment Version to 9.3.0a2
JarbasAl Jul 24, 2026
7c33447
Update Changelog
JarbasAl Jul 24, 2026
f187c21
fix: bump padacioso floor to 2.2.1a1 so dangling <name> refs raise Ma…
JarbasAl Jul 24, 2026
7ac1b27
Increment Version to 9.3.1a1
JarbasAl Jul 24, 2026
ecbc2fd
Update Changelog
JarbasAl Jul 24, 2026
ebd2477
test: restore SessionManager.bus after end2end MiniCroft teardown (#495)
JarbasAl Jul 24, 2026
13c4def
Increment Version to 9.3.1a2
JarbasAl Jul 24, 2026
c0afe06
Update Changelog
JarbasAl Jul 24, 2026
27c8728
fix: bind intent dispatch handlers to canonical INTENT-4 intent names…
JarbasAl Jul 26, 2026
25f4816
Increment Version to 9.3.2a1
JarbasAl Jul 26, 2026
c59df90
Update Changelog
JarbasAl Jul 26, 2026
a7097da
docs: rewrite README in Simplified Technical English (#502)
JarbasAl Aug 1, 2026
4ac976f
Increment Version to 9.3.2a2
JarbasAl Aug 1, 2026
aa95bc4
Update Changelog
JarbasAl Aug 1, 2026
ea8f592
fix(ci): coverage installed four test skills deleted long ago (#506)
JarbasAl Aug 1, 2026
0c85a32
Increment Version to 9.3.3a1
JarbasAl Aug 1, 2026
7aaa4c5
Update Changelog
JarbasAl Aug 1, 2026
544f585
fix: do not silently disable fallback skills that predate can_answer …
JarbasAl Aug 11, 2026
214b4c4
Increment Version to 9.3.4a1
JarbasAl Aug 11, 2026
d212a86
Update Changelog
JarbasAl Aug 11, 2026
a4d18e9
Revert "fix: do not silently disable fallback skills that predate can…
JarbasAl Aug 11, 2026
724cec5
Increment Version to 9.3.4a2
JarbasAl Aug 11, 2026
88fcef7
Update Changelog
JarbasAl Aug 11, 2026
ff07c5c
fix: bound OVOSSkill._wait_response so get_response can't hang foreve…
JarbasAl Aug 11, 2026
594970f
Increment Version to 9.3.5a1
JarbasAl Aug 11, 2026
ea3b36c
Update Changelog
JarbasAl Aug 11, 2026
5dbe5c3
fix: prevent killable_intent/killable_event thread and bus-listener l…
JarbasAl Aug 11, 2026
810e2f4
Increment Version to 9.3.6a1
JarbasAl Aug 11, 2026
a15fca0
fix: enable_intent rebinds the handler after disable_intent (#508)
JarbasAl Aug 11, 2026
7631dfe
Increment Version to 9.3.7a1
JarbasAl Aug 11, 2026
863af82
Update Changelog
JarbasAl Aug 11, 2026
9e40495
fix: route language matching through ovos-spec-tools (#512)
JarbasAl Aug 11, 2026
d27f650
Increment Version to 9.3.8a1
JarbasAl Aug 11, 2026
1746038
Update Changelog
JarbasAl Aug 11, 2026
c9f2541
fix: make FallbackSkill abstract so a skill without can_answer cannot…
JarbasAl Aug 11, 2026
269dc60
Increment Version to 9.3.9a1
JarbasAl Aug 11, 2026
280de1b
Update Changelog
JarbasAl Aug 11, 2026
dceeddd
fix: keep context-only requires out of INTENT-4 keyword emit (#525)
JarbasAl Aug 13, 2026
91d9df7
Increment Version to 9.3.10a1
JarbasAl Aug 13, 2026
3334a6a
Update Changelog
JarbasAl Aug 13, 2026
3d6eb42
fix: carry the original context key so CONTEXT-1 gating is reachable …
JarbasAl Aug 13, 2026
b5cf660
Increment Version to 9.3.11a1
JarbasAl Aug 13, 2026
9ed740e
Update Changelog
JarbasAl Aug 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/build_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Run Build Tests
on:
push:
branches: [master, dev]
pull_request:
branches: [dev]
workflow_dispatch:

jobs:
build_tests:
uses: OpenVoiceOS/gh-automations/.github/workflows/build-tests.yml@dev
secrets: inherit
with:
test_path: 'test/unittests'
install_extras: 'test'
13 changes: 6 additions & 7 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
env:
PYTHON: '3.9'
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v6
- name: Setup Python
uses: actions/setup-python@master
uses: actions/setup-python@v6
with:
python-version: 3.9
python-version: 3.14
- name: Install System Dependencies
run: |
sudo apt-get update
Expand All @@ -28,10 +28,9 @@ jobs:
run: |
sudo apt install libssl-dev libfann-dev portaudio19-dev libpulse-dev
pip install -r requirements/test.txt
pip install ./test/end2end/session/skill-ovos-hello-world
pip install ./test/end2end/session/skill-ovos-fallback-unknown
pip install ./test/end2end/session/skill-ovos-fallback-unknownv1
pip install ./test/end2end/session/skill-converse_test
# test/end2end/session/ and its four local test skills were removed
# long ago; the current end2end tree (intent4/keyword-casing) uses
# in-place injected skills that need no install.
- name: Generate coverage report
run: |
pytest --cov=./ovos_workshop --cov-report xml test/unittests
Expand Down
48 changes: 6 additions & 42 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,47 +5,11 @@ on:
branches: [dev]
schedule:
- cron: "0 0 * * *" # Runs daily at midnight UTC
workflow_dispatch: # Allows manual triggering

env:
TARGET_PACKAGE: "ovos-workshop" # Set the package to track here
workflow_dispatch:

jobs:
check-dependencies:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Download requirements file
run: |
curl -o constraints-alpha.txt https://raw.githubusercontent.com/OpenVoiceOS/ovos-releases/refs/heads/main/constraints-alpha.txt

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Install Dependencies
run: |
sudo apt-get update
sudo apt install python3-dev swig libssl-dev libfann-dev portaudio19-dev libpulse-dev python3-fann2
python -m venv venv
source venv/bin/activate
pip install build wheel
pip install -r constraints-alpha.txt
pip install pipdeptree

- name: Find downstream dependencies
run: |
source venv/bin/activate
pipdeptree -r -p "$TARGET_PACKAGE" > downstream_report.txt || echo "No dependencies found"

- name: Commit and push changes
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git checkout dev || git checkout -b dev
git add downstream_report.txt
git commit -m "Update downstream dependencies for $TARGET_PACKAGE" || echo "No changes to commit"
git push origin dev
check_downstream:
uses: OpenVoiceOS/gh-automations/.github/workflows/downstream-check.yml@dev
secrets: inherit
with:
package_name: 'ovos-workshop'
10 changes: 7 additions & 3 deletions .github/workflows/license_tests.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
name: Run License Tests
on:
push:
workflow_dispatch:
pull_request:
branches:
- master
pull_request:
branches:
- dev
workflow_dispatch:

jobs:
license_tests:
uses: neongeckocom/.github/.github/workflows/license_tests.yml@master
uses: OpenVoiceOS/gh-automations/.github/workflows/license-check.yml@dev
secrets: inherit
12 changes: 12 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Lint
on:
push:
branches: [dev]
pull_request:
branches: [dev]
workflow_dispatch:

jobs:
lint:
uses: OpenVoiceOS/gh-automations/.github/workflows/lint.yml@dev
secrets: inherit
14 changes: 14 additions & 0 deletions .github/workflows/pip_audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Pip Audit
on:
push:
branches: [dev]
pull_request:
branches: [dev]
workflow_dispatch:

jobs:
pip_audit:
uses: OpenVoiceOS/gh-automations/.github/workflows/pip-audit.yml@dev
secrets: inherit
with:
system_deps: 'libssl-dev libfann-dev portaudio19-dev libpulse-dev'
49 changes: 4 additions & 45 deletions .github/workflows/publish_stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,53 +6,12 @@ on:

jobs:
publish_stable:
uses: TigreGotico/gh-automations/.github/workflows/publish-stable.yml@master
if: github.actor != 'github-actions[bot]'
uses: OpenVoiceOS/gh-automations/.github/workflows/publish-stable.yml@dev
secrets: inherit
with:
branch: 'master'
version_file: 'ovos_workshop/version.py'
setup_py: 'setup.py'
publish_pypi: true
sync_dev: true
publish_release: true

publish_pypi:
needs: publish_stable
if: success() # Ensure this job only runs if the previous job succeeds
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: master
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Build Tools
run: |
python -m pip install build wheel
- name: version
run: echo "::set-output name=version::$(python setup.py --version)"
id: version
- name: Build Distribution Packages
run: |
python setup.py sdist bdist_wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{secrets.PYPI_TOKEN}}


sync_dev:
needs: publish_stable
if: success() # Ensure this job only runs if the previous job succeeds
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
ref: master
- name: Push master -> dev
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: dev
97 changes: 6 additions & 91 deletions .github/workflows/release_workflow.yml
Original file line number Diff line number Diff line change
@@ -1,108 +1,23 @@
name: Release Alpha and Propose Stable

on:
workflow_dispatch:
pull_request:
types: [closed]
branches: [dev]

jobs:
publish_alpha:
if: github.event.pull_request.merged == true
uses: TigreGotico/gh-automations/.github/workflows/publish-alpha.yml@master
if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
uses: OpenVoiceOS/gh-automations/.github/workflows/publish-alpha.yml@dev
secrets: inherit
with:
branch: 'dev'
version_file: 'ovos_workshop/version.py'
setup_py: 'setup.py'
update_changelog: true
publish_prerelease: true
propose_release: true
changelog_max_issues: 100

notify:
if: github.event.pull_request.merged == true
needs: publish_alpha
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Send message to Matrix bots channel
id: matrix-chat-message
uses: fadenb/matrix-chat-message@v0.0.6
with:
homeserver: 'matrix.org'
token: ${{ secrets.MATRIX_TOKEN }}
channel: '!WjxEKjjINpyBRPFgxl:krbel.duckdns.org'
message: |
new ${{ github.event.repository.name }} PR merged! https://github.com/${{ github.repository }}/pull/${{ github.event.number }}

publish_pypi:
needs: publish_alpha
if: success() # Ensure this job only runs if the previous job succeeds
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: dev
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Build Tools
run: |
python -m pip install build wheel
- name: version
run: echo "::set-output name=version::$(python setup.py --version)"
id: version
- name: Build Distribution Packages
run: |
python setup.py sdist bdist_wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{secrets.PYPI_TOKEN}}


propose_release:
needs: publish_alpha
if: success() # Ensure this job only runs if the previous job succeeds
runs-on: ubuntu-latest
steps:
- name: Checkout dev branch
uses: actions/checkout@v4
with:
ref: dev

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Get version from setup.py
id: get_version
run: |
VERSION=$(python setup.py --version)
echo "VERSION=$VERSION" >> $GITHUB_ENV

- name: Create and push new branch
run: |
git checkout -b release-${{ env.VERSION }}
git push origin release-${{ env.VERSION }}

- name: Open Pull Request from dev to master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Variables
BRANCH_NAME="release-${{ env.VERSION }}"
BASE_BRANCH="master"
HEAD_BRANCH="release-${{ env.VERSION }}"
PR_TITLE="Release ${{ env.VERSION }}"
PR_BODY="Human review requested!"

# Create a PR using GitHub API
curl -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: token $GITHUB_TOKEN" \
-d "{\"title\":\"$PR_TITLE\",\"body\":\"$PR_BODY\",\"head\":\"$HEAD_BRANCH\",\"base\":\"$BASE_BRANCH\"}" \
https://api.github.com/repos/${{ github.repository }}/pulls
publish_pypi: true
notify_matrix: true

14 changes: 14 additions & 0 deletions .github/workflows/repo_health.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Repo Health
on:
push:
branches: [dev]
pull_request:
branches: [dev]
workflow_dispatch:

jobs:
repo_health:
uses: OpenVoiceOS/gh-automations/.github/workflows/repo-health.yml@dev
secrets: inherit
with:
version_file: 'ovos_workshop/version.py'
59 changes: 0 additions & 59 deletions .github/workflows/unit_tests.yml

This file was deleted.

Loading