Skip to content

Move to GitHub actions and enabled trusted publishing - #874

Merged
304NotModified merged 32 commits into
masterfrom
GitHub-actions-and-trusted-publishing
Oct 24, 2026
Merged

304NotModified merged 32 commits into
masterfrom
GitHub-actions-and-trusted-publishing

Conversation

@304NotModified

@304NotModified 304NotModified commented Oct 18, 2026 •

Copy link
Copy Markdown
Member

Plus build on Linux :)

  • vulnerable check
dotnet list ./ package --vulnerable --include-transitive | findstr /S /c:"has the following vulnerable packages"
if (-Not $LastExitCode -eq 1)
{
	dotnet list ./ package --vulnerable --include-transitive
	exit 1
}

Moved to NuGetAudit

<PropertyGroup>
  <NuGetAudit>true</NuGetAudit>
  <NuGetAuditMode>all</NuGetAuditMode>
  <NuGetAuditLevel>low</NuGetAuditLevel>
  <WarningsAsErrors>$(WarningsAsErrors);NU1900;NU1901;NU1902;NU1903;NU1904</WarningsAsErrors>
</PropertyGroup>
  • and this publish?
dotnet publish -r win-x64 -c release --self-contained .\examples\NetCore2\HostingExample
if (-Not $LastExitCode -eq 0)
	{ exit $LastExitCode }

from https://github.com/NLog/NLog.Extensions.Logging/blob/GitHub-actions-and-trusted-publishing/run-tests.ps1

See NLog/NLog#6306

  • snupkg is missing
  • fix linux build
  • check nupkg changes (versions etc)
  • fix version number
  • fix embedded untracked
  • configure nuget.org
  • fix SonarQube PR comments - dotnet-sonarscanner : The format of the analysis property sonar.github.oauth= is invalid
  • fix "productionversion" in csproj
  • move creation of package to separate job
  • document in csproj/.md where the version number lives
  • update github config checks
  • check frameworks
  • compare to prev versions
  • update badge
  • cleanup dotnet install versions
  • aot test doesn't need another restore? -> it needs a restore
  • format documents

@304NotModified

Copy link
Copy Markdown
Member Author

looks good so far

image

@304NotModified

304NotModified commented Oct 18, 2026 •

Copy link
Copy Markdown
Member Author

logging 6.2.2 vs 6.2.3-pr

looks all good (note, changed current version back to 6.2.2)

image

@304NotModified

304NotModified commented Oct 18, 2026 •

Copy link
Copy Markdown
Member Author

Maybe move some stuff to Linux build. The Linux build is way more faster than Windows. E.g. the AOT publish?

Also move the changelog to the .props? As there is also one changelog.md

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@304NotModified
304NotModified marked this pull request as ready for review October 18, 2026 20:19
@304NotModified 304NotModified self-assigned this Oct 18, 2026
@snakefoot

snakefoot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Maybe move some stuff to Linux build. The Linux build is way more faster than Windows. E.g. the AOT publish?

I like testing (including AOT-testing) on both Windows and Linux platform

Do we need this? dotnet list ./ package --vulnerable --include-transitive

I like that we don't test / publish nuget-packages that contain known vulnerabilities.

@304NotModified

Copy link
Copy Markdown
Member Author

Ignore SonarQube/AppVeyor, it's also broken for master

Comment thread .github/workflows/ci.yml Resolved
@304NotModified
304NotModified merged commit 8a30644 into master Oct 24, 2026
6 of 7 checks passed
@304NotModified
304NotModified deleted the GitHub-actions-and-trusted-publishing branch October 24, 2026 13:59
@304NotModified 304NotModified moved this from Backlog to Done in Modernize CI/CD (2026) Oct 31, 2026
fuzzzerd pushed a commit to fuzzzerd/SharpFM that referenced this pull request Nov 16, 2026
Updated
[NLog.Extensions.Logging](https://github.com/NLog/NLog.Extensions.Logging)
from 6.2.2 to 6.3.0.

<details>
<summary>Release notes</summary>

_Sourced from [NLog.Extensions.Logging's
releases](https://github.com/NLog/NLog.Extensions.Logging/releases)._

## 6.3.0

**Platform Support**
- [#​891](NLog/NLog.Extensions.Logging#891)
Added .NET 11 support (@​304NotModified)
- [#​891](NLog/NLog.Extensions.Logging#891)
Removed .NET 6 support (@​304NotModified)

**Performance**
- [#​890](NLog/NLog.Extensions.Logging#890)
Replace casts with pattern matching for performance and readability
(@​304NotModified)

**Infrastructure**
- [#​874](NLog/NLog.Extensions.Logging#874) Move
to GitHub Actions and enable trusted publishing (@​304NotModified)
- [#​878](NLog/NLog.Extensions.Logging#878)
Improve ci.yml (@​304NotModified)
- [#​879](NLog/NLog.Extensions.Logging#879) Add
GitHub Actions unit test report (@​304NotModified)
- [#​887](NLog/NLog.Extensions.Logging#887)
Remove AppVeyor references (@​304NotModified)
- [#​880](NLog/NLog.Extensions.Logging#880)
Upload coverage to Codecov and SonarQube automatic analysis
(@​304NotModified)
- [#​885](NLog/NLog.Extensions.Logging#885) Add
Codecov config (@​304NotModified)
- [#​884](NLog/NLog.Extensions.Logging#884)
Upgrade release-drafter (@​304NotModified)

**Maintenance**
- [#​873](NLog/NLog.Extensions.Logging#873)
NLogLogger - Minor code adjustment (@​snakefoot)
- [#​881](NLog/NLog.Extensions.Logging#881)
Remove unneeded Microsoft.SourceLink.GitHub package (@​304NotModified)
- [#​882](NLog/NLog.Extensions.Logging#882) Bump
coverlet.collector from 6.0.4 to 10.1.0 (@​dependabot[bot])
- [#​883](NLog/NLog.Extensions.Logging#883) Add
tests (@​304NotModified)
- [#​888](NLog/NLog.Extensions.Logging#888) Add
tests (@​304NotModified)
- [#​889](NLog/NLog.Extensions.Logging#889)
Reduce cognitive complexity (@​304NotModified)
- [#​892](NLog/NLog.Extensions.Logging#892) Move
example projects (@​304NotModified)

Commits viewable in [compare
view](NLog/NLog.Extensions.Logging@v6.2.2...v6.3.0).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=NLog.Extensions.Logging&package-manager=nuget&previous-version=6.2.2&new-version=6.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants