Skip to content

Commit bfa1f6a

Browse files
JarbasAlclaude
andcommitted
ci: regenerate workflows from the standard templates
Re-render every workflow from the shared gh-automations templates so they no longer drift: publish_stable triggers on push to master/main (not pull_request closed), the release workflows pass PYPI_TOKEN/MATRIX_TOKEN explicitly, and publish_stable gains the publish_release and sync_dev inputs. build-tests and coverage install the test and ovos extras so the OVOS plugin tests run. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent b966513 commit bfa1f6a

11 files changed

Lines changed: 26 additions & 25 deletions

.github/workflows/build-tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ on:
88
jobs:
99
build:
1010
uses: OpenVoiceOS/gh-automations/.github/workflows/build-tests.yml@dev
11-
secrets: inherit
1211
with:
13-
python_versions: '["3.10", "3.11", "3.12", "3.13"]'
12+
python_versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
1413
install_extras: 'test,ovos'
1514
test_path: 'test'

.github/workflows/coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ on:
88
jobs:
99
coverage:
1010
uses: OpenVoiceOS/gh-automations/.github/workflows/coverage.yml@dev
11-
secrets: inherit
1211
with:
1312
python_version: '3.11'
1413
coverage_source: 'markovonnx'
14+
test_path: 'test/'
1515
install_extras: '-e .[test,ovos]'
16-
test_path: 'test'
16+
min_coverage: 0

.github/workflows/license_check.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ on:
88
jobs:
99
license_check:
1010
uses: OpenVoiceOS/gh-automations/.github/workflows/license-check.yml@dev
11-
secrets: inherit

.github/workflows/lint.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,7 @@ on:
77

88
jobs:
99
lint:
10-
runs-on: ubuntu-latest
11-
continue-on-error: true
12-
steps:
13-
- uses: actions/checkout@v4
14-
- uses: actions/setup-python@v5
15-
with:
16-
python-version: '3.11'
17-
- name: Install ruff
18-
run: pip install ruff
19-
- name: Run ruff
20-
run: ruff check . || true
10+
uses: OpenVoiceOS/gh-automations/.github/workflows/lint.yml@dev
11+
with:
12+
ruff: true
13+
pre_commit: false # set true if .pre-commit-config.yaml exists

.github/workflows/opm-check.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: OPM Check
1+
name: OPM Plugin Check
22

33
on:
44
pull_request:
@@ -8,6 +8,11 @@ on:
88
jobs:
99
opm_check:
1010
uses: OpenVoiceOS/gh-automations/.github/workflows/opm-check.yml@dev
11-
secrets: inherit
1211
with:
12+
python_version: '3.11'
1313
plugin_type: 'auto'
14+
entry_point: 'ovos-markov-lang-detect'
15+
opm_require_found: true
16+
opm_validate_interface: true
17+
opm_test_import: true
18+
opm_perf_threshold_ms: 500

.github/workflows/pip_audit.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ on:
88
jobs:
99
pip_audit:
1010
uses: OpenVoiceOS/gh-automations/.github/workflows/pip-audit.yml@dev
11-
secrets: inherit

.github/workflows/publish_stable.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,22 @@ name: Publish Stable Release
22

33
on:
44
workflow_dispatch:
5-
pull_request:
6-
types: [closed]
5+
push:
76
branches: [master, main]
87

8+
permissions:
9+
contents: write # required for version bump commit and release tag
10+
911
jobs:
1012
publish_stable:
11-
if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
13+
if: github.actor != 'github-actions[bot]'
1214
uses: OpenVoiceOS/gh-automations/.github/workflows/publish-stable.yml@dev
1315
secrets:
1416
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
1517
MATRIX_TOKEN: ${{ secrets.MATRIX_TOKEN }}
1618
with:
1719
version_file: 'markovonnx/version.py'
1820
publish_pypi: true
21+
publish_release: true
22+
sync_dev: true
1923
notify_matrix: true

.github/workflows/release-preview.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
jobs:
99
release_preview:
1010
uses: OpenVoiceOS/gh-automations/.github/workflows/release-preview.yml@dev
11-
secrets: inherit
1211
with:
1312
package_name: 'markovonnx'
1413
version_file: 'markovonnx/version.py'

.github/workflows/release_workflow.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
types: [closed]
77
branches: [dev]
88

9+
permissions:
10+
contents: write
11+
pull-requests: write
12+
913
jobs:
1014
publish_alpha:
1115
if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
@@ -19,6 +23,6 @@ jobs:
1923
update_changelog: true
2024
publish_prerelease: true
2125
propose_release: true
22-
changelog_max_issues: 100
26+
changelog_max_issues: 50
2327
publish_pypi: true
2428
notify_matrix: true

0 commit comments

Comments
 (0)