Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 1 addition & 14 deletions .github/workflows/generate-llm-txt.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,7 @@
name: Generate LLM.txt

on:
# Trigger on releases
release:
types: [published]

# Trigger on pushes to main branch
push:
branches: [main]
paths:
- 'src/mcpm/commands/**'
- 'src/mcpm/cli.py'
- 'scripts/generate_llm_txt.py'

# Allow manual trigger
workflow_dispatch:
workflow_call:

jobs:
generate-llm-txt:
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,37 @@
name: Semantic Release

on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'src/mcpm/**'
- 'pyproject.toml'
workflow_dispatch:

permissions:
contents: write
issues: write
pull-requests: write
id-token: write # Required for PyPI trusted publishing
id-token: write # Required for PyPI trusted publishing

jobs:
update-llm-txt:
name: Update LLM.txt
uses: ./.github/workflows/generate-llm-txt.yml
secrets: inherit

test:
uses: ./.github/workflows/test.yml

release:
name: Release
needs: test
needs: [test, update-llm-txt]
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/mcpm

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down