fix(deps): update otel.instrumentation.version (#2236) #289
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: Release Please | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: {} | |
| jobs: | |
| release-please: | |
| if: ${{ github.repository == 'prometheus/client_java' }} | |
| runs-on: ubuntu-24.04 | |
| permissions: | |
| contents: write # release-please creates release commits, tags, and the GitHub release | |
| pull-requests: write # release-please opens/updates the release PR | |
| issues: write # release-please comments on/labels issues included in the release | |
| actions: write # required to trigger release.yml via `gh workflow run` | |
| steps: | |
| - uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0 | |
| id: release-please | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| config-file: .github/config/release-please-config.json | |
| manifest-file: .github/config/.release-please-manifest.json | |
| - name: Trigger deploy to Maven Central | |
| if: ${{ steps.release-please.outputs.releases_created == 'true' }} | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| TAG_NAME: ${{ steps.release-please.outputs.tag_name }} | |
| run: > | |
| gh workflow run release.yml --repo "${GITHUB_REPOSITORY}" | |
| -f "tag=${TAG_NAME}" |