mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-07 14:09:03 +00:00
workflow: update parent repo
This commit is contained in:
parent
cdf8537153
commit
cce4788aba
26
api/.github/workflows/update-parents.yml
vendored
Normal file
26
api/.github/workflows/update-parents.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
name: 'update parent repositories'
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- dev
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
sync:
|
||||||
|
name: 'update extension'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: checkout repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.CI_TOKEN }}
|
||||||
|
submodules: true
|
||||||
|
repository: notion-enhancer/extension
|
||||||
|
- 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: 'update submodule: ${{ github.event.repository.name }}'
|
Loading…
Reference in New Issue
Block a user