mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-21 17:57:01 +02:00
30 lines
498 B
YAML
30 lines
498 B
YAML
name: Update Submodules
|
|
|
|
on:
|
|
schedule:
|
|
- cron: 0 0 * * *
|
|
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
sync:
|
|
name: Update Submodules
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Update submodules
|
|
run: |
|
|
cd ramdisk
|
|
git pull origin main
|
|
cd ..
|
|
|
|
- name: Commit changes
|
|
uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
commit_message: Update submodules
|