k-skill/.github/workflows/release-python.yml
Workflow config file is invalid. Please check your config file: Line: 20 Column 5: Failed to match job-factory: Line: 20 Column 9: Unknown Function Call hashFiles Line: 20 Column 5: Failed to match workflow-job: Line: 20 Column 9: Unknown Function Call hashFiles Line: 22 Column 5: Unknown Property steps Line: 26 Column 5: Failed to match job-factory: Line: 26 Column 9: Unknown Function Call hashFiles Line: 26 Column 5: Failed to match workflow-job: Line: 26 Column 9: Unknown Function Call hashFiles Line: 28 Column 5: Unknown Property steps Forgejo Actions YAML Schema validation error
Jeffrey (Dongkyu) Kim 720964cf49 Prepare k-skill for packaged releases and broader skill discovery
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
2026-03-25 23:57:53 +09:00

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."