abernix is updating the Apollo Protobuf 🚀 #5872
This file contains 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 Apollo Protobuf | |
run-name: ${{ github.actor }} is updating the Apollo Protobuf 🚀 | |
on: | |
workflow_dispatch: | |
schedule: | |
# On the 5 of every hour | |
- cron: '5 * * * *' | |
jobs: | |
Update-Protobuf-Schema: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Make changes to pull request | |
run: | | |
curl -f https://usage-reporting.api.apollographql.com/proto/reports.proto > ./apollo-router/src/plugins/telemetry/proto/reports.proto | |
- name: Create Pull Request | |
id: cpr | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
commit-message: Update Apollo Protobuf schema | |
committer: GitHub <[email protected]> | |
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | |
branch: create-pull-request/apollo-proto-updates | |
team-reviewers: | | |
router | |
add-paths: | | |
apollo-router/src/plugins/telemetry/proto/reports.proto | |
delete-branch: true | |
title: 'chore: Update Apollo Protobuf' | |
body: | | |
This updates the copy of `reports.proto` which this repository relies on with the latest copy fetched via our public endpoint. |