Skip to content

Commit 8dee81d

Browse files
mcpolo99RandomCrocodile
andauthored
fix(ci): add actions:read permission for CodeQL (#29)
* feat(ci): add GitHub Actions workflow — build, package, release Replaces AppVeyor. Builds CLI + GUI + combined zip + NuGet on every push to master. On tag push (v*), creates GitHub Release with all artifacts attached. * fix(ci): build on branch push, release only on PR merge to master - Build + package on push to master/feature/fix branches and PRs - Release job only runs on merge to master (not every push) - Auto-tags with version computed from git history * fix(ci): install .NET 4.6.1 targeting pack for C++ test project windows-2022 runner lacks the net461 reference assemblies needed by the 244_ClrProtection.vcxproj test project. * feat(ci): use NBGV for automatic versioning Version computed by Nerdbank.GitVersioning (same as assembly version). Release tag, GitHub Release name, and assembly version all match automatically — no manual version management needed. * fix(ci): update dependabot config for private fork - Change reviewer from mkaring to mcpolo99 - Change schedule from daily to weekly - Add github-actions ecosystem monitoring - Add open-pull-requests-limit (10 nuget, 5 actions) * fix(ci): update CodeQL workflow — windows-2019 and codeql v1 are deprecated - Change runner from windows-2019 to windows-2022 - Update codeql-action from v1 to v3 - Update checkout from v2 to v4 * fix(ci): replace CodeQL autobuild with custom build steps Autobuild fails because the C++ test project needs .NET 4.6.1 targeting pack. Use the same MSBuild + targeting pack install as the main CI workflow. * fix(ci): add actions:read permission for CodeQL SARIF upload --------- Co-authored-by: RandomCrocodile <mawi@polosab.com>
1 parent b5d4cad commit 8dee81d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ permissions:
1212
contents: read
1313
security-events: write
1414
pull-requests: read
15+
actions: read
1516

1617
jobs:
1718
analyze:

0 commit comments

Comments
 (0)