mirror of
https://github.com/NomaDamas/k-skill.git
synced 2026-06-24 02:04:11 +00:00
This snapshots the current repository updates as a coherent release-prep baseline: workspace/package scaffolding, release automation docs and workflows, refreshed skill/setup documentation, roadmap expansion, and the README thumbnail polish. Constraint: Node packages in this repo must use npm workspaces and Changesets for releases Constraint: Python release automation stays scaffold-only until a real package exists Rejected: Split the current work into multiple commits | user asked to commit the current changes together Confidence: medium Scope-risk: moderate Reversibility: clean Directive: Keep release docs, workflows, and package metadata aligned when adding future packages Tested: npm run ci Not-tested: GitHub Actions execution on remote after push
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
name: Release Python packages
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- ".github/release-please/**"
|
|
- ".github/workflows/release-python.yml"
|
|
- "python-packages/**"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
id-token: write
|
|
|
|
jobs:
|
|
scaffold-only:
|
|
if: ${{ hashFiles('python-packages/**/pyproject.toml') == '' }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: echo "No Python package exists yet. release-please remains scaffold-only."
|
|
|
|
release:
|
|
if: ${{ hashFiles('python-packages/**/pyproject.toml') != '' }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- id: release
|
|
uses: googleapis/release-please-action@v4
|
|
with:
|
|
config-file: .github/release-please/python-config.json
|
|
manifest-file: .github/release-please/python-manifest.json
|
|
|
|
- name: Reminder
|
|
if: ${{ steps.release.outputs.releases_created == 'true' }}
|
|
run: |
|
|
echo "Python package release metadata was created."
|
|
echo "Wire package-specific build/publish steps here when the first python package is added."
|