Skip to content

Merge pull request #5 from MiSArch/feature/graphql-schema-transformation #4

Merge pull request #5 from MiSArch/feature/graphql-schema-transformation

Merge pull request #5 from MiSArch/feature/graphql-schema-transformation #4

name: Update infrastructure-docker submodule
on:
push:
branches:
- main
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 payment
git checkout ${{ github.sha }}
- uses: peter-evans/create-pull-request@v5
with:
commit-message: Update payment schema
branch: update/payment
token: ${{ secrets.INFRASTRUCTURE_DOCKER_PUSH_SECRET }}
- name: Set to auto merge
run: gh pr merge update/payment --auto --merge -R misarch/infrastructure-docker
env:
GH_TOKEN: ${{ secrets.INFRASTRUCTURE_DOCKER_PUSH_SECRET }}