Skip to content

Latest commit

 

History

History
115 lines (81 loc) · 6.54 KB

prepare-package-release.md

File metadata and controls

115 lines (81 loc) · 6.54 KB

GitHub Reusable Workflow: Prepare Composer Package Release

Prepare Composer Package Release

Overview

Plan a Composer source release before validation, without changing repository state. Continue only when status is ready, then pass tag to the release workflow. See the release guide for the complete prepare, validate and release journey.

Permissions

  • contents: read
  • pull-requests: read

Usage

name: Prepare Composer Package Release
on:
  push:
    branches:
      - main
permissions: {}
jobs:
  prepare-package-release:
    uses: hoverkraft-tech/ci-github-php/.github/workflows/prepare-package-release.yml@9fc3d4e8925f8c6d87f1d46bd6b695ef75cb0f0a # 2.0.4
    permissions:
      contents: read
      pull-requests: read
    with:
      # Partial YAML or JSON configuration forwarded to ci-github-publish/actions/release/plan. Pass the same configuration to preparation and publication.
      release-config: ""

      # Plan a release without relevant changes on manual default-branch runs. Ignored on schedules and tag retries. Shared planning preserves higher versions and never overwrites tags.
      force: false

Inputs

Workflow Call Inputs

Input Description Required Type Default
release-config Partial YAML or JSON configuration forwarded to ci-github-publish/actions/release/plan. Pass the same configuration to preparation and publication. false string -
force Plan a release without relevant changes on manual default-branch runs. Ignored on schedules and tag retries. Shared planning preserves higher versions and never overwrites tags. false boolean false

Outputs

Output Description
status ready, no-changes or released. Only ready should start validation and publication.
tag Planned or recovered Composer version tag. Available when status is ready; pass unchanged to release.yml.

Release License Stars PRs Welcome GitHub Verified Creator

Contributing

Contributions are welcome! Please see the contributing guidelines for more details.

License

This project is licensed under the MIT License.

SPDX-License-Identifier: MIT

Copyright © 2026 hoverkraft-tech

For more details, see the license.


This documentation was automatically generated by CI Dokumentor.