Update kickstart.nvim #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |