34 lines
789 B
Markdown
34 lines
789 B
Markdown
# gitea-release-drafter
|
|
|
|
_Gitea Release Drafter_ automates release notes as a draft release whenever a pull request finds it's way into the default branch of your repository.
|
|
|
|
⚠️ This action is compatible with gitea and forgejo starting from version `1.19.0`.
|
|
|
|
## Using The Release Drafter
|
|
|
|
...
|
|
|
|
`config-path` to set the location of the action configuration. Defaults to `.gitea/release-drafter.yml`
|
|
|
|
## Example Configuration
|
|
|
|
```
|
|
name-template: 'v$RESOLVED_VERSION 🌈'
|
|
tag-template: 'v$RESOLVED_VERSION'
|
|
version-resolver:
|
|
major:
|
|
labels:
|
|
- 'major'
|
|
minor:
|
|
labels:
|
|
- 'minor'
|
|
patch:
|
|
labels:
|
|
- 'patch'
|
|
default: patch
|
|
```
|
|
|
|
## Configuration Variables
|
|
|
|
- `RESOLVED_VERSION`: the proposed version for the next release (does not contain the leading `v`)
|