Woodpecker CI plugin to merge Forgejo pull requests.
  • Lua 85.5%
  • Dockerfile 14.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
renovate-bot 6cfa700a6a
All checks were successful
ci/woodpecker/push/change_log Pipeline was successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/tag/release Pipeline was successful
ci/woodpecker/cron/vulnerability Pipeline was successful
ci/woodpecker/cron/renovate Pipeline was successful
ci/woodpecker/cron/auto_merge Pipeline was successful
ci/woodpecker/cron/release Pipeline was successful
maint: Update code.thinkaboutit.tech/pandora/atis Docker tag to v0.8.0 #32
Merged automatically
2026-09-27 18:28:36 +00:00
lua feat: Use atis runtime (#24) 2026-08-21 15:58:50 +00:00
.gitignore initial commit 2026-04-09 02:08:38 +02:00
.markdownlint.json Initial commit 2026-04-08 21:15:24 +00:00
.prettierrc Initial commit 2026-04-08 21:15:24 +00:00
.test.env initial commit 2026-04-09 02:05:13 +02:00
Containerfile maint: Update code.thinkaboutit.tech/pandora/atis Docker tag to v0.8.0 #32 2026-09-27 18:28:36 +00:00
LICENSE add license 2026-04-11 13:49:40 +02:00
README.md feat: Use atis runtime (#24) 2026-08-21 15:58:50 +00:00
renovate.json ci: Use central renovate.json (#14) 2026-07-19 11:43:17 +00:00

Auto 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-token

The auto-merge-token is an access token from Forgejo. It must have write:repository access.

The auto-merge-users is 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