-
-
Notifications
You must be signed in to change notification settings - Fork 1
29 lines (27 loc) · 773 Bytes
/
update-parents.yml
File metadata and controls
29 lines (27 loc) · 773 Bytes
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
name: 'update parent repositories'
on:
push:
branches:
- main
jobs:
sync:
name: update parent
runs-on: ubuntu-latest
strategy:
matrix:
repo: ['notion-enhancer/extension', 'notion-enhancer/desktop']
steps:
- name: checkout repo
uses: actions/checkout@v2
with:
token: ${{ secrets.CI_TOKEN }}
submodules: true
repository: ${{ matrix.repo }}
- name: pull updates
run: |
git pull --recurse-submodules
git submodule update --remote --recursive
- name: commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: '[${{ github.event.repository.name }}] ${{ github.event.head_commit.message }}'