Persist trace context encoded as w3c trace-context #6802
Workflow file for this run
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: Merge freeze | |
on: | |
pull_request: | |
types: | |
[ | |
opened, | |
ready_for_review, | |
synchronize, | |
reopened, | |
labeled, | |
unlabeled, | |
enqueued, | |
] | |
branches: [main] | |
merge_group: | |
types: [checks_requested] | |
permissions: read-all | |
jobs: | |
check-merge-freeze: | |
name: Check | |
# This condition is to avoid blocking the PR causing the freeze in the first place. | |
if: | | |
(!startsWith(github.event.pull_request.title || github.event.merge_group.head_commit.message, '[chore] Prepare release')) || | |
(!(github.event.pull_request.user.login == 'opentelemetrybot' || github.event.merge_group.head_commit.author.name == 'OpenTelemetry Bot')) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
sparse-checkout: .github/workflows/scripts | |
- run: ./.github/workflows/scripts/check-merge-freeze.sh | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
REPO: open-telemetry/opentelemetry-collector |