Skip to content

#PR5 CI/CD#263

Open
diaverso wants to merge 1 commit into
Foxlider:masterfrom
diaverso:pr/5-cicd
Open

#PR5 CI/CD#263
diaverso wants to merge 1 commit into
Foxlider:masterfrom
diaverso:pr/5-cicd

Conversation

@diaverso
Copy link
Copy Markdown

@diaverso diaverso commented May 15, 2026

⬆️ Previous: #PR4 Debug Logging

Fixes GitHub Actions workflows that were broken or missing configuration.

codeql-analysis.yml / release.yml (#239):
Add missing DOTNET_VERSION: '8.0.x' env var. The variable was referenced by actions/setup-dotnet in both workflows but never defined, causing workflow failures.

build.yml (new):
Add a standalone build workflow that triggers on every push and PR to master. Provides fast build verification without depending on the CodeQL / environment setup.

release.yml:

  • Add permissions: contents: write to the release job so GITHUB_TOKEN can create releases (required on forks and new repos)
  • Replace unmaintained andelf/nightly-release@main with softprops/action-gh-release@v2
  • Add a pre-step to delete the existing nightly release + tag before recreating to avoid already_exists conflicts
  • Handle empty changelog gracefully (exit 0 instead of exit 1 when no tags exist yet)
  • Truncate changelog to 20k chars to avoid the 32766-char env var size limit

global.json:
Change rollForward from latestFeature to latestMajor so builds succeed with .NET SDK versions newer than 8.0.0.

…se (Foxlider#239)

.github/workflows/codeql-analysis.yml, .github/workflows/release.yml
- Foxlider#239: Add missing DOTNET_VERSION: '8.0.x' env var (was referenced by
  actions/setup-dotnet but never defined, causing workflow failures)

.github/workflows/build.yml (new)
- Add standalone build workflow that triggers on push/PR to master for
  fast build verification without depending on CodeQL

.github/workflows/release.yml
- Add permissions: contents: write to release job (required for
  GITHUB_TOKEN to create releases on forks)
- Replace unmaintained andelf/nightly-release@main with
  softprops/action-gh-release@v2
- Add pre-step to delete existing nightly release + tag before recreating
- Handle empty changelog gracefully (exit 0 instead of exit 1 when no tags)
- Truncate changelog to 20k chars to avoid env var size limit (32766 max)

global.json
- Change rollForward from latestFeature to latestMajor so builds succeed
  with .NET SDK versions newer than 8.0.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

@diaverso diaverso mentioned this pull request May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant