Add GitHub Actions workflow for private composer releases#12
Merged
throttlehead-dev merged 10 commits intomainfrom Feb 20, 2026
Merged
Add GitHub Actions workflow for private composer releases#12throttlehead-dev merged 10 commits intomainfrom
throttlehead-dev merged 10 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request adds a GitHub Actions workflow for automating private Composer package releases. The workflow extracts the branch name from PR or merge commits, determines semantic version bumps based on branch naming conventions (e.g., feature/ → minor, patch/ → patch), calculates the next version from the latest GitHub release, creates a Git tag and release, and triggers a downstream workflow in a private Composer registry repository.
Changes:
- Adds automated release workflow that determines version bumps from branch name patterns
- Implements GitHub App token-based authentication for release operations
- Sets up PHP/Composer environment and version management logic
- Triggers downstream workflow in private package repository after release
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
NicolasDesc
approved these changes
Feb 20, 2026
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.
Summary
This pull request introduces a new GitHub Actions workflow for automating Composer package releases for private repositories. The workflow handles version bumping based on branch naming conventions, generates a GitHub App token for authentication, and triggers a downstream workflow in a private package repository.
Key changes in the new workflow:
Release automation and versioning:
_private_composer_gh_auto_release.yaml) that determines the type of semantic version bump (major, minor, patch) based on the branch name (e.g.,major/,minor/,patch/, etc.), and calculates the next version accordingly.Authentication and environment setup:
Release and downstream workflow triggering:
Notes