Update agent protobuf deserializer #1032
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 agent protobuf deserializer | |
| on: | |
| workflow_dispatch: {} | |
| schedule: | |
| - cron: "00 02 * * 2-6" | |
| jobs: | |
| main: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| steps: | |
| - uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 | |
| - name: Generate descriptor | |
| run: docker run --rm -v "$(pwd):/work" -w /work golang:1.24.5 /work/utils/scripts/update_protobuf.sh | |
| - uses: DataDog/dd-octo-sts-action@acaa02eee7e3bb0839e4272dacb37b8f3b58ba80 # v1.0.3 | |
| id: octo-sts | |
| with: | |
| scope: DataDog/system-tests | |
| policy: self.update-agent-protobuf.create-pr | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8 | |
| with: | |
| commit-message: Update protobuf descriptors | |
| branch: actions/update-protobuf-descriptors | |
| title: Update protobuf descriptors | |
| body: Please check locally that everything is ok before merging | |
| token: ${{ steps.octo-sts.outputs.token }} |