Skip to content

chore(deps): update ghcr.io/apollographql/router docker tag to v1.41.… #20

chore(deps): update ghcr.io/apollographql/router docker tag to v1.41.…

chore(deps): update ghcr.io/apollographql/router docker tag to v1.41.… #20

on:
push:
paths:
- Dockerfile
jobs:
update_schema:
name: Update Router Config JSON Schema
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Checkout
uses: actions/[email protected]
- name: Build Docker image
run: docker build -t router .
- name: Update Config JSON Schema
run: docker run router config schema > .apollo/router_config_schema.json
- name: Check if anything changed
run: git diff --exit-code .apollo/router_config_schema.json
- name: Commit and push changes
if: ${{ failure() }}
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add .apollo/router_config_schema.json
git commit -m "Update router config schema"
git push