build(deps): bump the azure-sdks group across 1 directory with 6 updates #3288
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: fragment-in-pr | |
| on: | |
| pull_request: | |
| types: [ labeled, unlabeled, opened, reopened, synchronize ] | |
| jobs: | |
| fragments: | |
| if: "!contains(github.event.pull_request.labels.*.name, 'skip-changelog') && !contains(github.event.pull_request.labels.*.name, 'backport')" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: .go-version | |
| - name: check pr-has-fragment | |
| run: | | |
| GOBIN=$PWD/bin go install github.com/elastic/elastic-agent-changelog-tool@latest | |
| ./bin/elastic-agent-changelog-tool pr-has-fragment --repo ${{ github.event.repository.name }} ${{github.event.number}} | |
| - name: get beats-agent version | |
| run: | | |
| gv=$(awk '$0 ~ /[0-9]+\.[0-9]+\.[0-9]+/ {print $4}' libbeat/version/version.go) | |
| echo "beats-version=$gv" >> $GITHUB_OUTPUT | |
| id: beats-version | |
| - name: check fragment-syntax | |
| run: | | |
| ./bin/elastic-agent-changelog-tool build --version ${{steps.beats-version.outputs.beats-version}} --owner elastic --repo beats |