We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92818a8 commit a77ff80Copy full SHA for a77ff80
1 file changed
.github/workflows/compile-llms-txt.yml
@@ -1,11 +1,12 @@
1
name: Compile llms.txt
2
3
on:
4
- push:
+ pull_request:
5
branches:
6
- main
7
paths:
8
- 'docs/**/*.mdx'
9
+ - 'docs/compile_llms_txt.py'
10
11
jobs:
12
compile:
@@ -20,10 +21,10 @@ jobs:
20
21
run: |
22
cd docs
23
python compile_llms_txt.py
- - name: Commit and push changes
24
- run: |
25
- git config --local user.email "action@github.com"
26
- git config --local user.name "GitHub Action"
27
- git add docs/llms.txt
28
- git commit -m "Update llms.txt" || exit 0
29
- git push
+ - name: Create Pull Request
+ uses: peter-evans/create-pull-request@v5
+ with:
+ commit-message: Update llms.txt
+ title: 'Update llms.txt'
+ body: 'Auto-generated update to llms.txt based on docs changes'
30
+ branch: update-llms-txt
0 commit comments