Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions .github/workflows/prepare-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ jobs:
run: .github/scripts/use-cla-approved-github-bot.sh

- name: Backport patch release changelog to main
id: backport_pr
env:
GITHUB_TOKEN: ${{ steps.otelbot-token.outputs.token }}
run: |
Expand All @@ -112,11 +113,19 @@ jobs:
git fetch origin $release_branch

# Copy the updated CHANGELOG.md from the release branch
git checkout $release_branch -- CHANGELOG.md
git checkout FETCH_HEAD -- CHANGELOG.md
git commit -m "$message"

git push origin HEAD:$branch
gh pr create --title "$message" \
--body "$body" \
--head $branch \
--base main
pr_url=$(gh pr create --title "$message" \
--body "$body" \
--head $branch \
--base main)
echo "pr_url=$pr_url" >> $GITHUB_OUTPUT

- name: Add Skip Changelog label to backport PR
if: steps.backport_pr.outputs.pr_url != ''
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr edit ${{ steps.backport_pr.outputs.pr_url }} --add-label "Skip Changelog"
2 changes: 1 addition & 1 deletion .github/workflows/prepare-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,4 +212,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr edit ${{ steps.create_main_pr.outputs.pr_url }} --add-label "prepare-release"
gh pr edit ${{ steps.create_main_pr.outputs.pr_url }} --add-label "prepare-release" --add-label "Skip Changelog"
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

<!-- changelog start -->

## Version 1.42.1/0.63b1 (2026-05-21)

### Fixed

- Preserve the random trace ID flag when creating child spans instead of always
setting the random trace id bit depending on the available trace id
generator.
([#5241](https://github.com/open-telemetry/opentelemetry-python/pull/5241))

## Version 1.42.0/0.63b0 (2026-05-19)

### Added
Expand Down
Loading