Refactor GraphQL error response building and add pre-emptive truncation #29405
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: Check snapshots | |
| on: | |
| - pull_request | |
| jobs: | |
| check-snapshots: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write # need to add a comment to a PR | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-dotnet@c2fa09f4bde5ebb9d1777cf28262a3eb3db3ced7 # v5.2.0 | |
| with: | |
| global-json-file: global.json | |
| - name: "Check Snapshots" | |
| run: ./tracer/build.sh SummaryOfSnapshotChanges | |
| env: | |
| GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
| PullRequestNumber: "${{ github.event.pull_request.number }}" | |
| TargetBranch: "${{ github.base_ref }}" |