Skip to content

Add missing permissions to release process#8046

Merged
andrewlock merged 1 commit intomasterfrom
andrew/fix-release-permissions
Jan 12, 2026
Merged

Add missing permissions to release process#8046
andrewlock merged 1 commit intomasterfrom
andrew/fix-release-permissions

Conversation

@andrewlock
Copy link
Member

Summary of changes

Add missing permissions to the new release actions

Reason for change

The release failed because the new processes were missing permissions

Implementation details

Copy the permissions that are demanded in _create_draft_release into the two callers. I think we just have to accept the duplication here, so added comments to make sure updates are mirrored

Test coverage

Can't test this stuff very easily unfortunately, hence all this trial and error every 2 weeks 😅

@andrewlock andrewlock added the area:builds project files, build scripts, pipelines, versioning, releases, packages label Jan 12, 2026
@andrewlock andrewlock requested a review from a team as a code owner January 12, 2026 10:41
Copy link
Collaborator

@NachoEchevarria NachoEchevarria left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@andrewlock andrewlock enabled auto-merge (squash) January 12, 2026 10:59
@andrewlock andrewlock disabled auto-merge January 12, 2026 10:59
@pr-commenter
Copy link

pr-commenter bot commented Jan 12, 2026

Benchmarks

Benchmark execution time: 2026-01-12 11:23:40

Comparing candidate commit 45af1b2 in PR branch andrew/fix-release-permissions with baseline commit f7b598c in branch master.

Found 8 performance improvements and 7 performance regressions! Performance is the same for 152 metrics, 19 unstable metrics.

scenario:Benchmarks.Trace.ActivityBenchmark.StartStopWithChild netcoreapp3.1

  • 🟥 execution_time [+98.009ms; +100.903ms] or [+97.464%; +100.341%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleMoreComplexBody net6.0

  • 🟩 execution_time [-17.643ms; -13.159ms] or [-8.218%; -6.129%]

scenario:Benchmarks.Trace.Asm.AppSecBodyBenchmark.AllCycleSimpleBody netcoreapp3.1

  • 🟩 execution_time [-25.899ms; -19.510ms] or [-12.111%; -9.124%]

scenario:Benchmarks.Trace.AspNetCoreBenchmark.SendRequest net6.0

  • 🟥 execution_time [+94.744ms; +96.134ms] or [+92.396%; +93.752%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces net6.0

  • 🟥 execution_time [+10.881ms; +16.679ms] or [+5.397%; +8.274%]
  • 🟥 throughput [-115.074op/s; -76.459op/s] or [-7.630%; -5.069%]

scenario:Benchmarks.Trace.CIVisibilityProtocolWriterBenchmark.WriteAndFlushEnrichedTraces netcoreapp3.1

  • 🟥 execution_time [+20.247ms; +26.945ms] or [+13.454%; +17.905%]

scenario:Benchmarks.Trace.CharSliceBenchmark.OptimizedCharSliceWithPool net6.0

  • 🟩 execution_time [-138.772µs; -133.721µs] or [-11.487%; -11.069%]
  • 🟩 throughput [+103.116op/s; +107.364op/s] or [+12.457%; +12.970%]

scenario:Benchmarks.Trace.ElasticsearchBenchmark.CallElasticsearchAsync net472

  • 🟥 throughput [-19424.324op/s; -16846.816op/s] or [-6.518%; -5.653%]

scenario:Benchmarks.Trace.HttpClientBenchmark.SendAsync net6.0

  • 🟩 throughput [+7289.520op/s; +9520.009op/s] or [+5.111%; +6.675%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog net6.0

  • 🟥 execution_time [+44.125ms; +45.493ms] or [+28.521%; +29.405%]

scenario:Benchmarks.Trace.Log4netBenchmark.EnrichedLog netcoreapp3.1

  • 🟩 execution_time [-37.262ms; -34.213ms] or [-18.354%; -16.852%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishSpan net6.0

  • 🟩 execution_time [-22.456ms; -17.381ms] or [-10.252%; -7.935%]

scenario:Benchmarks.Trace.SpanBenchmark.StartFinishTwoScopes netcoreapp3.1

  • 🟩 execution_time [-15.025ms; -10.867ms] or [-7.074%; -5.116%]

@andrewlock andrewlock merged commit cc6f569 into master Jan 12, 2026
99 of 102 checks passed
@andrewlock andrewlock deleted the andrew/fix-release-permissions branch January 12, 2026 13:11
@github-actions github-actions bot added this to the vNext-v3 milestone Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:builds project files, build scripts, pipelines, versioning, releases, packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants