generated from pandora/woodpecker-plugin.template
-
v1.0.0
Stablereleased this
2026-04-09 11:07:20 +00:00 | 6 commits to main since this releaseAuto merge PRs in Forgejo
This plugin list all open PRs in the repository and if they match with
conditions then merge it.Usage
It can be used at pull request event, but more recommended to run it via cron.
If it run in PR, and somebody make a PR, then the person can inject code to the
repository.when: - event: cron cron: auto_merge steps: - name: Auto-merge image: code.thinkaboutit.tech/pandora/auto-merge.woodpecker settings: debug: true allowed_authors: from_secret: auto-merge-users forgejo_token: from_secret: auto-merge-tokenThe
auto-merge-tokenis an access token from Forgejo. It must have
write:repositoryaccess.The
auto-merge-usersis a list which user's PR are allowed to merge. In case
of more user, they must be delimited by,. For example:user1,user2.Settings
Name Default value Description allowed_authors Which author's PR are allowed to merge, must be delimited by ',' forgejo_token Token for Forgejo, must he write:repository forgejo_host CI_FORGE_URL Forgejo's URL forgejo_owner CI_REPO_OWNER Owner of repository forgejo_repo CI_REPO_NAME Name of repository Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)