This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
chore: add archive note to README #116
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 parent repositories' | |
on: | |
push: | |
branches: | |
- dev | |
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 }}' |