fix(deps): Update module go.opentelemetry.io/otel/sdk to v1.40.0 [SECURITY] #2037
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 generate-otel-collector-distro | |
| permissions: | |
| contents: read | |
| on: pull_request | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Set up Go | |
| uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 | |
| with: | |
| go-version-file: go.mod | |
| cache: false | |
| - name: Run generate-otel-collector-distro | |
| run: | | |
| make generate-otel-collector-distro | |
| - name: Check for generated file changes | |
| run: | | |
| # List changed files in the collector directory (excluding generator source files) | |
| if [ -n "$(git status --porcelain -- collector/)" ]; then | |
| echo "Error: generated collector files are out of sync with generate-otel-collector-distro." | |
| echo " Run: make generate-otel-collector-distro and commit the generated files" | |
| git status -- collector/ | |
| git diff -- collector/ | |
| exit 1 | |
| fi | |