Nicolai Ort e3ec26c250
All checks were successful
ci/woodpecker/push/build Pipeline was successful
feat(ci): Better build cache
2023-11-24 11:30:48 +01:00
2023-11-24 11:30:48 +01:00
2023-05-12 08:19:55 +02:00
2023-05-12 08:34:37 +02:00
2023-05-12 08:19:29 +02:00
2023-05-12 08:19:29 +02:00

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
Description
Generates gitea pull requests from a source to a target branch. It is also able to merge the pull request after creation.
Readme 43 KiB
Languages
Shell 79.7%
Dockerfile 20.3%