Skip to content

Refactor variable declarations for consistency and clarity #741

Refactor variable declarations for consistency and clarity

Refactor variable declarations for consistency and clarity #741

Triggered via push January 12, 2026 02:26
Status Success
Total duration 5m 51s
Artifacts 1

dotnet.yml

on: push
Build, Test & Release
4m 52s
Build, Test & Release
Update Winget Manifests
52s
Update Winget Manifests
Security Scanning
36s
Security Scanning
Fit to window
Zoom out
Zoom in

Annotations

11 warnings and 3 notices
Build, Test & Release
No files were found with the provided path: ./coverage/*. No artifacts will be uploaded.
Build, Test & Release: SyncFileContents/SyncFileContents.cs#L462
Remove the unused local variable 'remoteBranchTip'. (https://rules.sonarsource.com/csharp/RSPEC-1481)
Build, Test & Release: SyncFileContents/SyncFileContents.cs#L369
Loops should be simplified using the "Where" LINQ method (https://rules.sonarsource.com/csharp/RSPEC-3267)
Build, Test & Release: SyncFileContents/SyncFileContents.cs#L47
Refactor this method to reduce its Cognitive Complexity from 252 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build, Test & Release: SyncFileContents/SyncFileContents.cs#L316
Define a constant instead of using this literal '.git\\' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build, Test & Release: SyncFileContents/SyncFileContents.cs#L72
Define a constant instead of using this literal 'Aborted.' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build, Test & Release: SyncFileContents/SyncFileContents.cs#L462
Remove the unused local variable 'remoteBranchTip'. (https://rules.sonarsource.com/csharp/RSPEC-1481)
Build, Test & Release: SyncFileContents/SyncFileContents.cs#L369
Loops should be simplified using the "Where" LINQ method (https://rules.sonarsource.com/csharp/RSPEC-3267)
Build, Test & Release: SyncFileContents/SyncFileContents.cs#L47
Refactor this method to reduce its Cognitive Complexity from 252 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build, Test & Release: SyncFileContents/SyncFileContents.cs#L316
Define a constant instead of using this literal '.git\\' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build, Test & Release: SyncFileContents/SyncFileContents.cs#L72
Define a constant instead of using this literal 'Aborted.' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Security Scanning
Snapshot successfully created at 2026-01-12T02:31:43.634Z
Security Scanning
{ "detector": { "name": "Component Detection", "version": "0.0.1", "url": "https://github.com/advanced-security/component-detection-dependency-submission-action" }, "version": 0, "job": { "correlator": "security", "id": "20906214598" }, "sha": "e3945a3aa515557719eb3757050bb50b79371621", "ref": "refs/heads/main", "scanned": "2026-01-12T02:31:43.366Z", "manifests": {} }
Security Scanning
Submitting snapshot...

Artifacts

Produced during runtime
Name Size Digest
winget-manifests-1.2.4 Expired
1.83 KB
sha256:d4a41035b5d3238efcd8906bee0a6e8af29aa93988db4374caa6792f8a99b539