Skip to content

Enable automatic CD pipeline on main branch pushes#3

Merged
Reidond merged 1 commit intomainfrom
claude/fix-missing-cd-job-CnGGQ
Feb 20, 2026
Merged

Enable automatic CD pipeline on main branch pushes#3
Reidond merged 1 commit intomainfrom
claude/fix-missing-cd-job-CnGGQ

Conversation

@Reidond
Copy link
Owner

@Reidond Reidond commented Feb 20, 2026

Summary

This PR updates the CD workflow to automatically trigger on pushes to the main branch, while also improving the version bump logic to handle cases where no bump type is explicitly specified.

Key Changes

  • Automatic triggering: Added push event trigger for the main branch, enabling the CD pipeline to run automatically on every merge to main
  • Default bump type: Updated the version bump command to default to 'patch' when no bump type is provided via workflow input, ensuring the workflow can complete successfully even without explicit input

Implementation Details

The workflow now has two trigger mechanisms:

  1. Automatic execution on pushes to main branch
  2. Manual execution via workflow_dispatch with optional bump type input

The version bump step now uses a fallback value (|| 'patch') to provide sensible defaults when the input is not specified, making the workflow more robust and reducing the need for manual input in automated scenarios.

https://claude.ai/code/session_01HVGeTixMnoawTmT2UDcHfb

The CD workflow was only configured with workflow_dispatch (manual trigger),
so it never ran automatically after merging to main. Added push trigger on
the main branch and defaulted the bump type to patch for automatic runs.

https://claude.ai/code/session_01HVGeTixMnoawTmT2UDcHfb
@Reidond Reidond merged commit f830bd6 into main Feb 20, 2026
4 checks passed
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