Skip to content

Multiline format for workflow condition readability#16

Merged
syndr merged 4 commits into
develfrom
copilot/update-github-actions-workflow
Feb 3, 2026
Merged

Multiline format for workflow condition readability#16
syndr merged 4 commits into
develfrom
copilot/update-github-actions-workflow

Conversation

Copilot AI commented Feb 3, 2026

Copy link
Copy Markdown

Addresses review feedback requesting multiline formatting for the release job's condition expression (228 char single line).

Changes

Reformatted if condition using YAML folded scalar syntax (>-) for readability:

Before:

if: ${{ github.event_name == 'release' || github.event_name == 'schedule' || github.event.inputs.push_image == 'true' || (github.event_name == 'push' && (github.ref_name == 'main' || github.ref_name == 'devel')) }}

After:

if: >-
  ${{
    github.event_name == 'release'
    || github.event_name == 'schedule'
    || github.event.inputs.push_image == 'true'
    || (github.event_name == 'push' && (github.ref_name == 'main' || github.ref_name == 'devel'))
  }}

Logic unchanged, purely formatting.

Original prompt

Update the github actions workflow to make sure it automatically builds and pushes the latest and devel images on pushes to those specific branches, as well as existing schedules and workflow_dispatch events


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: syndr <7787499+syndr@users.noreply.github.com>
Copilot AI changed the title [WIP] Update GitHub Actions workflow for automatic image builds Auto-push container images on latest/devel branch pushes Feb 3, 2026
Copilot AI requested a review from syndr February 3, 2026 21:37
…t latest branch

Co-authored-by: syndr <7787499+syndr@users.noreply.github.com>
Copilot AI changed the title Auto-push container images on latest/devel branch pushes Fix workflow branch triggers: main→latest, devel→devel Feb 3, 2026
Comment thread .github/workflows/release.yml Outdated
Co-authored-by: syndr <7787499+syndr@users.noreply.github.com>
Copilot AI changed the title Fix workflow branch triggers: main→latest, devel→devel Multiline format for workflow condition readability Feb 3, 2026
Copilot AI requested a review from syndr February 3, 2026 21:58
@syndr syndr marked this pull request as ready for review February 3, 2026 22:19
@syndr syndr merged commit 394e0f0 into devel Feb 3, 2026
2 checks passed
@syndr syndr deleted the copilot/update-github-actions-workflow branch February 3, 2026 22:20
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.

2 participants