File tree 1 file changed +36
-0
lines changed
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ # .github/workflows/doc-helper.yml
2
+ name : Documentation Helper
3
+
4
+ on :
5
+ pull_request :
6
+ paths :
7
+ - ' **.py' # Only run on Python file changes
8
+ types : [opened, synchronize]
9
+
10
+ jobs :
11
+ update-docs :
12
+ runs-on : ubuntu-latest
13
+ permissions :
14
+ contents : write
15
+ pull-requests : write
16
+
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+ with :
20
+ ref : ${{ github.head_ref }}
21
+ fetch-depth : 0
22
+
23
+ - name : Set up Python
24
+ uses : actions/setup-python@v4
25
+ with :
26
+ python-version : ' 3.10'
27
+
28
+ - name : Install dependencies
29
+ run : |
30
+ python -m pip install --upgrade pip
31
+ pip install anthropic gitpython
32
+
33
+ - name : Run documentation helper
34
+ env :
35
+ ANTHROPIC_API_KEY : ${{ secrets.ANTHROPIC_API_KEY }}
36
+ run : python .github/scripts/doc_helper.py
You can’t perform that action at this time.
0 commit comments