ci: trigger all build jobs on every push - #9
Merged
Conversation
Copilot created this pull request from a session on behalf of
evildevill
July 25, 2026 09:36
View session
evildevill
marked this pull request as ready for review
July 25, 2026 09:36
There was a problem hiding this comment.
Pull request overview
Updates the CI workflow so platform build artifact jobs run automatically on push events, reducing the need for manual workflow_dispatch runs during normal development.
Changes:
- Updated all four build jobs (Linux AppImage, Linux .deb, Windows installer, macOS DMG) to include
github.event_name == 'push'in theirifconditions. - Kept the
releasejob gated to version tags (refs/tags/v*).
Comments suppressed due to low confidence (3)
.github/workflows/ci.yml:114
- Same as above:
startsWith(github.ref, 'refs/tags/v')is redundant oncegithub.event_name == 'push'is included (tag pushes are already limited tov*by the workflow trigger). Simplifying reduces repetition and makes the intent clearer.
if: github.event_name == 'push' || startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && inputs.build_artifacts)
.github/workflows/ci.yml:137
- Same as above: since
github.event_name == 'push'already covers tag pushes allowed byon.push.tags, the explicitstartsWith(github.ref, 'refs/tags/v')check is redundant and can be removed to keep the condition readable.
if: github.event_name == 'push' || startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && inputs.build_artifacts)
.github/workflows/ci.yml:167
- Same as above: with
github.event_name == 'push'included, thestartsWith(github.ref, 'refs/tags/v')clause is redundant given the workflow trigger already restricts tag pushes tov*. Removing it avoids duplicated logic.
if: github.event_name == 'push' || startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && inputs.build_artifacts)
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| name: Build Linux (AppImage) | ||
| needs: [lint, test] | ||
| if: startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && inputs.build_artifacts) | ||
| if: github.event_name == 'push' || startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && inputs.build_artifacts) |
| name: Build Linux (AppImage) | ||
| needs: [lint, test] | ||
| if: startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && inputs.build_artifacts) | ||
| if: github.event_name == 'push' || startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && inputs.build_artifacts) |
| name: Build Linux (AppImage) | ||
| needs: [lint, test] | ||
| if: startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && inputs.build_artifacts) | ||
| if: github.event_name == 'push' || startsWith(github.ref, 'refs/tags/v') || (github.event_name == 'workflow_dispatch' && inputs.build_artifacts) |
Copilot stopped work on behalf of
evildevill due to an error
July 25, 2026 09:42
Copilot stopped work on behalf of
evildevill due to an error
July 25, 2026 09:42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Build jobs (AppImage, .deb, Windows installer, macOS DMG) previously only ran on version tags or manual
workflow_dispatch, requiring manual intervention for every non-tag push.Changes
build-linux-appimage,build-linux-deb,build-windows,build-macos): updatedifcondition to includegithub.event_name == 'push', triggering on every push to any branch or tagThe
releasejob remains tag-only (startsWith(github.ref, 'refs/tags/v')).