-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 1.09 KB
/
date-kickstart.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Update kickstart.nvim
on:
schedule:
- cron: '0 0 * * 0' # 毎週日曜日の午前0時に実行
workflow_dispatch: # 手動実行用
jobs:
update-kickstart:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Update kickstart submodule
run: |
git config user.name github-actions
git config user.email [email protected]
git submodule update --remote .config/nvim
if [[ -n $(git status -s) ]]; then
git add .config/nvim
git commit -m "Update kickstart.nvim submodule"
git push origin master
fi
env:
GIT_TRACE: 1
GIT_CURL_VERBOSE: 1
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6 # Update to v6 if available
with:
title: 'Update kickstart.nvim submodule'
body: 'This PR updates the kickstart.nvim submodule to the latest version.'
branch: update-kickstart-submodule
base: master