File tree Expand file tree Collapse file tree 2 files changed +10
-18
lines changed Expand file tree Collapse file tree 2 files changed +10
-18
lines changed Original file line number Diff line number Diff line change 11name : Generate LLM.txt
22
33on :
4- # Trigger on releases
5- release :
6- types : [published]
7-
8- # Trigger on pushes to main branch
9- push :
10- branches : [main]
11- paths :
12- - ' src/mcpm/commands/**'
13- - ' src/mcpm/cli.py'
14- - ' scripts/generate_llm_txt.py'
15-
16- # Allow manual trigger
17- workflow_dispatch :
4+ workflow_call :
185
196jobs :
207 generate-llm-txt :
Original file line number Diff line number Diff line change 11name : Semantic Release
22
33on :
4- workflow_dispatch :
54 push :
65 branches :
76 - main
87 paths :
98 - ' src/mcpm/**'
109 - ' pyproject.toml'
10+ workflow_dispatch :
1111
1212permissions :
1313 contents : write
1414 issues : write
1515 pull-requests : write
16- id-token : write # Required for PyPI trusted publishing
16+ id-token : write # Required for PyPI trusted publishing
1717
1818jobs :
19+ update-llm-txt :
20+ name : Update LLM.txt
21+ uses : ./.github/workflows/generate-llm-txt.yml
22+ secrets : inherit
23+
1924 test :
2025 uses : ./.github/workflows/test.yml
2126
2227 release :
2328 name : Release
24- needs : test
29+ needs : [ test, update-llm-txt]
2530 runs-on : ubuntu-latest
2631 environment :
2732 name : pypi
2833 url : https://pypi.org/p/mcpm
29-
34+
3035 steps :
3136 - name : Checkout
3237 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments