Skip to content

build: update if conditionals for workflows, formatting#1022

Merged
burningalchemist merged 2 commits into
masterfrom
build/workflows
Jun 23, 2026
Merged

build: update if conditionals for workflows, formatting#1022
burningalchemist merged 2 commits into
masterfrom
build/workflows

Conversation

@burningalchemist

Copy link
Copy Markdown
Owner

This pull request updates the GitHub Actions workflow files to improve branch filtering logic, condition handling, and formatting consistency for the build and CodeQL analysis jobs. The main focus is on making the workflows more robust and maintainable by refining how jobs are triggered and simplifying the configuration.

Workflow logic improvements:

  • Updated the build job in .github/workflows/build.yml to check both pull request titles and commit messages for the docs: prefix, ensuring that documentation-only changes do not trigger unnecessary builds.
  • Simplified the conditional logic in the CodeQL analysis job in .github/workflows/codeql-analysis.yml to skip analysis for both docs: and build: commits in a single, clearer statement.

Formatting and configuration consistency:

  • Standardized YAML formatting by quoting values (e.g., go-version: "^1.26.0" and language: ["go"]) and removed unnecessary comments and commented-out code in the CodeQL workflow for clarity. [1] [2]

@burningalchemist burningalchemist merged commit c811770 into master Jun 23, 2026
3 checks passed
@burningalchemist burningalchemist deleted the build/workflows branch June 23, 2026 09:19
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