Skip to content

ci: pass the PR head ref to git push through an environment variable - #5722

Merged
ric-oliv merged 1 commit into
mainfrom
ci/verify-api-head-ref-env
Oct 13, 2026
Merged

ric-oliv merged 1 commit into
mainfrom
ci/verify-api-head-ref-env

Conversation

@ric-oliv

Copy link
Copy Markdown
Member

Follows the GitHub Actions hardening guidance for run: steps in verify-api.yml.

Refs NET-781

#skip-changelog

Follows the GitHub Actions hardening guidance for run steps.

Refs NET-781

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@linear-code

linear-code Bot commented Oct 13, 2026

Copy link
Copy Markdown

NET-781

@ric-oliv
ric-oliv marked this pull request as ready for review October 13, 2026 14:13
@github-actions github-actions Bot added the risk: low PR risk score: low label Oct 13, 2026
@codecov

codecov Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.23%. Comparing base (e6e39fd) to head (dbdeaa6).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5722      +/-   ##
==========================================
+ Coverage   75.21%   75.23%   +0.02%     
==========================================
  Files         516      516              
  Lines       19022    19022              
  Branches     3698     3698              
==========================================
+ Hits        14308    14312       +4     
+ Misses       3858     3855       -3     
+ Partials      856      855       -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ric-oliv
ric-oliv merged commit 31350bd into main Oct 13, 2026
@ric-oliv
ric-oliv deleted the ci/verify-api-head-ref-env branch October 13, 2026 17:10
XAN9xXx pushed a commit to XAN9xXx/sentry-dotnet that referenced this pull request Nov 15, 2026
Brings 6.12.1 and main's changes since c73118f into version7, including
getsentry#5653, getsentry#5664, getsentry#5672, getsentry#5673, getsentry#5679, getsentry#5687, getsentry#5688, getsentry#5696, getsentry#5697, getsentry#5705,
getsentry#5717, getsentry#5720, getsentry#5721, getsentry#5722 and getsentry#5723.

Conflict resolutions:
- Directory.Build.props: keep version7's 7.0.0 / prerelease.
- Scope.cs: Environment syncs through getsentry#5653's ScopeObserver property with
  getsentry#5671's ScopeDefaults fallback. Apply keeps getsentry#5671's rule that the
  event's own SDK name and version win over the scope's.
- Sentry.AspNetCore.Grpc/SentryBuilderExtensions.cs and
  Sentry.Google.Cloud.Functions/SentryStartup.cs: keep version7's side.
  getsentry#5671 replaced both SDK-name event processors with options.SetSdk, so
  getsentry#5688's ISdkProcessor marker has nothing left to mark.
- Sentry.Samples.AspNetCore.Serilog: getsentry#5720's builder.UseSentry with
  version7's options callback (DSN plus o.UseSerilog()).

Merged cleanly but needed changes:
- Scope.Clone: drop Release and Distribution, which getsentry#5671 removed.
- ScopeTests.Clone_EveryFieldHandled: drop the same two fields.
- IntegrationsTests: drop getsentry#5721's
  WebHost_LoggerFactoryReplacedInitializeSdkFalse_SdkDisabled. On
  version7 UseSentry always initializes the SDK (getsentry#5595), so
  InitializeSdk = false no longer compiles.
- ApiApprovalTests DotNet11_0 snapshots: add getsentry#5664's WithMonitor and
  getsentry#5720's SentryWebApplicationBuilderExtensions, matching the DotNet10_0
  snapshots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: low PR risk score: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants