raultoto/GitFlow Automation Using PR Auto Classifier Action
GitFlow release automation: PR-label semver bumps, tags, release branch and GitHub Release. Auto-bootstraps first tag.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit May 15, 2026
- License
- None
Pinned Snippet
uses: raultoto/gitflow_automation@ea579b28835f30c01e9ac1dd70bcc039bfbaceab # v1.0.5tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token for authentication. | yes | — |
| initial-version | Version used to bootstrap the FIRST release when the repo has no prior semver tag. Used as-is (no bump applied). | no | v1.0.0 |
| tag-prefix | Prefix prepended to the new tag when the repo has no prior tag (e.g. "v", "" or "@scope/pkg@"). When prior tags exist, their prefix is reused unless auto-detect-prefix=false. | no | v |
| auto-detect-prefix | When true (default), the prefix of the most recent semver tag is reused (e.g. a repo with "0.0.2" keeps producing "0.0.3"). When false, only tag-prefix is honored. | no | true |
| release-branch-prefix | Prefix used for the created release branch. | no | release/ |
| major-label | PR label that triggers a major bump. | no | major |
| minor-label | PR label that triggers a minor bump. | no | minor |
| patch-label | PR label that triggers a patch bump. | no | patch |
| prerelease-label | PR label that marks the GitHub Release as prerelease. | no | prerelease |
| default-bump | Bump applied when no bump label is present. One of: major, minor, patch, none. "none" skips the release (does not apply to bootstrap). | no | patch |
| dry-run | When "true", computes everything and logs each action, but does not push tags, branches or releases. | no | false |
Outputs
| name | description |
|---|---|
| new-version | The full tag for the new release (includes detected/configured prefix). |
| previous-version | The full tag of the previous release. Empty if this was a bootstrap. |
| bump-type | major | minor | patch | initial | skipped. |
| release-branch | Name of the release branch that was created. |
| release-url | HTML URL of the GitHub Release that was created. |
| pr-number | PR number that triggered the release, or empty if it could not be resolved. |