generated from pandora/woodpecker-plugin.template
Automatically create change log for the next release.
- Lua 94.8%
- Dockerfile 5.2%
|
All checks were successful
ci/woodpecker/push/change_log Pipeline was successful
ci/woodpecker/cron/vulnerability Pipeline was successful
ci/woodpecker/cron/auto_merge Pipeline was successful
ci/woodpecker/cron/renovate Pipeline was successful
ci/woodpecker/cron/release Pipeline was successful
Reviewed-on: #4 |
||
|---|---|---|
| lua | ||
| .env.test | ||
| .gitignore | ||
| .goreleaser.yaml | ||
| .markdownlint.json | ||
| .prettierrc | ||
| Containerfile | ||
| LICENSE | ||
| README.md | ||
| renovate.json | ||
Automatic change log generator and releaser
This plugin can run on two kind of action. In case of push event, it creates a
new change, or update existing one, with the commits since the lasts release. It
also calculates the new version, by using semver. By default and modification is
increased, but if any feature commit present than the release is increased.
Plugin does not touch the version.
When it is called from a cron, and the box is selected in the issue, it
creates a new release and close the issue.
Usage
It can be used at push on main, or cron.
when:
event: cron
cron: "release"
steps:
- name: Make new release
image: code.thinkaboutit.tech/pandora/changelog.woodpecker:1.0.0
settings:
token:
from_secret: changelog-token
when:
- event: push
branch: main
steps:
- name: Write changelog
image: code.thinkaboutit.tech/pandora/changelog.woodpecker:1.0.0
settings:
token:
from_secret: changelog-token
Settings
| Name | Default value | Description |
|---|---|---|
| token* | Used to create/update issue and release |
* Requires to have repository:write (for release) and issue:write (for
issue tracking).