Skip to content

Merge pull request #16 from MiSArch/remove-protoc #16

Merge pull request #16 from MiSArch/remove-protoc

Merge pull request #16 from MiSArch/remove-protoc #16

name: Update GraphQL schema
on:
push:
branches:
- main
jobs:
schema:
name: Update GraphQL schema
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install latest stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: actions/checkout@v4
with:
repository: "misarch/schemas"
path: "schemas"
- name: Save graphql schemas
run: |
sudo apt install -y protobuf-compiler
cargo run -- --generate-schema
- uses: peter-evans/create-pull-request@v5
with:
path: ./schemas
commit-message: Update wishlist schema
branch: update/wishlist
token: ${{ secrets.SCHEMAS_PUSH_SECRET }}