File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Update Kiai Docs Submodule
2+
3+ on :
4+ push :
5+ branches :
6+ - v2
7+
8+ jobs :
9+ update-submodule :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout kiai repository
13+ uses : actions/checkout@v4
14+ with :
15+ repository : buape/kiai
16+ token : ${{ secrets.BUAPEBOT_TOKEN }}
17+ fetch-depth : 0
18+
19+ - name : Configure Git
20+ run : |
21+ git config --global user.name 'Automagical Magic'
22+ git config --global user.email 'buapestudios@gmail.com'
23+
24+ - name : Update submodule
25+ run : |
26+ cd apps/web/kiai-docs
27+ git fetch origin v2
28+ git checkout origin/v2
29+ cd ../../..
30+ git add apps/web/kiai-docs
31+
32+ - name : Create Pull Request
33+ uses : peter-evans/create-pull-request@v6
34+ with :
35+ token : ${{ secrets.BUAPEBOT_TOKEN }}
36+ commit-message : " chore: update kiai-docs submodule"
37+ title : " chore: update kiai-docs submodule"
38+ body : |
39+ This PR updates the kiai-docs submodule to the latest version from the v2 branch.
40+
41+ This update was automatically created by a GitHub Action.
42+ branch : update-kiai-docs-submodule
43+ delete-branch : true
44+ reviewers : thewilloftheshadow
45+ base : main
You can’t perform that action at this time.
0 commit comments