psmodule/Release GHRepository (by PSModule)
Automatically creates releases based on pull requests and labels.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 10, 2026
- License
- MIT
Pinned Snippet
uses: psmodule/release-ghrepository@750abed0ecab02394554b610dc3aa191e75e3248 # v2.0.3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| AutoCleanup | Control whether to automatically delete the prerelease tags after the stable release is created. | no | true |
| AutoPatching | Control whether to automatically handle patches. If disabled, the action will only create a patch release if the pull request has a 'patch' label. | no | true |
| ConfigurationFile | The path to the configuration file. Settings in the configuration file take precedence over the action inputs. | no | .github\auto-release.yml |
| CreateMajorTag | Control whether to create a major tag when a pull request is merged into the main branch. | no | true |
| CreateMinorTag | Control whether to create a minor tag when a pull request is merged into the main branch. | no | true |
| DatePrereleaseFormat | If specified, uses a date based prerelease scheme. The format should be a valid .NET format string like 'yyyyMMddHHmm'. | no | "" |
| IgnoreLabels | A comma separated list of labels that do not trigger a release. | no | NoRelease |
| IncrementalPrerelease | Control whether to automatically increment the prerelease number. If disabled, the action will ensure only one prerelease exists for a given branch. | no | true |
| MajorLabels | A comma separated list of labels that trigger a major release. | no | major, breaking |
| MinorLabels | A comma separated list of labels that trigger a minor release. | no | minor, feature |
| PatchLabels | A comma separated list of labels that trigger a patch release. | no | patch, fix |
| UsePRTitleAsReleaseName | When enabled, uses the pull request title as the name for the GitHub release. | no | false |
| UsePRBodyAsReleaseNotes | When enabled, uses the pull request body as the release notes for the GitHub release. | no | true |
| UsePRTitleAsNotesHeading | When enabled, the release notes will begin with the pull request title as a H1 heading followed by the pull request body. The title will reference the pull request number. | no | true |
| VersionPrefix | The prefix to use for the version number. | no | v |
| WhatIf | If specified, the action will only log the changes it would make, but will not actually create or delete any releases or tags. | no | false |
| Debug | Enable debug output. | no | false |
| Verbose | Enable verbose output. | no | false |
| Version | Specifies the version of the GitHub module to be installed. Accepts an exact version or a NuGet version range (for example '[1.2.0, 2.0.0)'). | no | — |
| Prerelease | Allow prerelease versions if available. | no | false |
| WorkingDirectory | The working directory where the script will run from. | no | ${{ github.workspace }} |
Outputs
no outputs