Add support for Default Baggage Injection in URLSessionInstrumentation #13
Workflow file for this run
This file contains 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: Tag & Note Release | |
on : | |
pull_request: | |
branches: | |
- main | |
types: | |
- closed | |
jobs: | |
CheckRelease: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check if merge is release branch | |
id: check-release | |
run: | | |
if [[ ${{ github.head_ref }} =~ ^release/([0-9]+\.[0-9]+\.[0-9]+$) ]]; then | |
echo "match=true" >> $GITHUB_OUTPUT | |
echo "version=${BASH_REMATCH[1]}" >> $GITHUB_OUTPUT | |
fi | |
- name: Tag if release branch | |
if: github.event.pull_request.merged != true || steps.check-release.outputs.match != 'true' | |
run: exit 1 | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.merge_commit_sha }} | |
fetch-depth: '0' | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: version bump to ${{ steps.check-release.outputs.version }} | |
tagging_message: '${{ steps.check-release.outputs.version }}' | |
- uses: ncipollo/release-action@v1 | |
with: | |
tag: ${{ steps.check-release.outputs.version }} | |
prerelease: true | |
generateReleaseNotes: true |