-
Notifications
You must be signed in to change notification settings - Fork 10
36 lines (34 loc) · 1.32 KB
/
verify-proto-files.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: 'Verify trace-protobuf'
on:
pull_request:
types: [ opened, synchronize, reopened ]
env:
DATADOG_AGENT_TAG: "7.55.0-rc.3"
jobs:
verify-proto-files:
name: "Verify trace-protobuf .proto files are in sync with datadog-agent"
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: diff agent_payload.proto
working-directory: trace-protobuf/src/pb
run: |
../../../.github/workflows/diff-proto-files.sh --file agent_payload.proto --tag ${{ env.DATADOG_AGENT_TAG }}
- name: diff tracer_payload.proto
if: success() || failure()
working-directory: trace-protobuf/src/pb
run: |
../../../.github/workflows/diff-proto-files.sh --file tracer_payload.proto --tag ${{ env.DATADOG_AGENT_TAG }}
- name: diff stats.proto
if: success() || failure()
working-directory: trace-protobuf/src/pb
run: |
../../../.github/workflows/diff-proto-files.sh --file stats.proto --tag ${{ env.DATADOG_AGENT_TAG }}
- name: diff span.proto
if: success() || failure()
working-directory: trace-protobuf/src/pb
run: |
../../../.github/workflows/diff-proto-files.sh --file span.proto --tag ${{ env.DATADOG_AGENT_TAG }}