Generates gitea pull requests from a source to a target branch. It is also able to merge the pull request after creation.
Go to file
Nicolai Ort e3ec26c250
ci/woodpecker/push/build Pipeline was successful Details
feat(ci): Better build cache
2023-11-24 11:30:48 +01:00
.woodpecker feat(ci): Better build cache 2023-11-24 11:30:48 +01:00
.gitignore Dockerfile 2023-05-12 08:19:55 +02:00
Dockerfile typo in image name 2023-05-12 08:34:37 +02:00
LICENSE Basic repo setup 2023-05-12 08:19:29 +02:00
README.md feat(merge): You can now choose to suash PRs 2023-05-12 12:28:33 +02:00
plugin.sh feat(merge): You can now choose to suash PRs 2023-05-12 12:28:33 +02:00
renovate.json Basic repo setup 2023-05-12 08:19:29 +02:00

README.md

ODIT Logo

Drone Gitea PR

Drone (self-hosted) with branch

Generates gitea pull requests from a source to a target branch. It is also able to merge the pull request after creation (see Settings).

Settings 🛠️

  • DOMAIN: Domain name of your gitea server
  • APIKEY: Api token for a gitea user that has the privileges to create (and merge) pull requests in your repo
  • TITLE: Title for the PR - defaults to " -> "
  • SOURCE: Source branch (aka head)
  • TARGET: Target branch (aka base)
  • MERGE: Merge the PR after creation - defaults to false
  • SQUASH: Suash the merge - defaults to false
  • DELETE_SOURCE: Delete source branch after merge - defaults to false

Examples

kind: pipeline
name: default

steps:
steps:
  - name: release
    image: registry.odit.services/library/drone-changelogger
    pull: always
    settings:
      DOMAIN: git.odit.services
      APIKEY:
        from_secret: gitea_token
      TITILE: Upmerge
      SOURCE: dev
      TARGET: main
      MERGE: true
      SQUASH: false
      DELETE_SOURCE: false