Update Graphql Schema #172
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update Graphql Schema | |
| on: | |
| schedule: | |
| # Run every weekday (Monday-Friday) at 06:00 AM UTC. | |
| - cron: '0 6 * * 1-5' | |
| workflow_dispatch: | |
| concurrency: | |
| group: ref-${{ github.workflow }} | |
| cancel-in-progress: true | |
| jobs: | |
| update_gql_schema: | |
| runs-on: ubuntu-latest-8-vcpu | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup CI | |
| uses: ./.github/actions/common-setup | |
| with: | |
| download-strings: 'false' | |
| gradle-cache-read-only: 'true' | |
| datadog-api-key: ${{ secrets.DATADOG_API_KEY }} | |
| lokalise-id: ${{ secrets.LOKALISE_ID }} | |
| lokalise-token: ${{ secrets.LOKALISE_TOKEN }} | |
| - name: Update schema | |
| run: ./gradlew downloadApolloSchemaFromIntrospection | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v7 | |
| with: | |
| token: ${{ secrets.ANDROID_REPO_PAT }} | |
| commit-message: "Update GQL Schema" | |
| branch: "chore/update-schema" | |
| title: "Maintenance: Update GQL Schema" | |
| body: "" |