Skip to content

Merge pull request #10 from MiSArch/updated-schema-repo #11

Merge pull request #10 from MiSArch/updated-schema-repo

Merge pull request #10 from MiSArch/updated-schema-repo #11

name: Update infrastructure-docker submodule
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
schema:
name: Update infrastructure-docker submodule
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: "misarch/infrastructure-docker"
submodules: true
- name: Update submodule
run: |
cd order
git checkout ${{ github.sha }}
- uses: peter-evans/create-pull-request@v5
with:
commit-message: Update order schema
branch: update/order
token: ${{ secrets.INFRASTRUCTURE_DOCKER_PUSH_SECRET }}
- name: Set to auto merge
run: gh pr merge update/order --auto --merge -R misarch/infrastructure-docker
env:
GH_TOKEN: ${{ secrets.INFRASTRUCTURE_DOCKER_PUSH_SECRET }}