Gitea

kind: gitea

Description

The pullrequests section describes the GitHub Pull Requests that updatecli is expected to open (or update) when the manifest is applied.

Parameters

NameTypeDescriptionRequired
bodystringBody defines the Gitea pullrequest body
ownerstringOwner specifies repository owner
repositorystringRepository specifies the name of a repository for a specific owner
sourcebranchstringSourceBranch specifies the pullrequest source branch
targetbranchstringTargetBranch specifies the pullrequest target branch
titlestringTitle defines the Gitea pullrequest title.
tokenstring[S][C][T] Token specifies the credential used to authenticate with
urlstring[S][C][T] URL specifies the default github url in case of Gitea enterprise
usernamestring[S][C][T] Username specifies the username used to authenticate with Gitea API

Example

# updatecli.yaml
name: Test Gitea scm 

scms:
  gitea:
    kind: gitea
    spec:
      url: "try.gitea.io"
      owner: "olblak"
      repository: "updatecli-mirror"
      branch: main

sources:
  license:
    name: Retrieve license file content
    kind: file
    scmid: gitea
    spec:
      file: LICENSE

targets:
  license:
    name: Retrieve license file content
    kind: file
    scmid: gitea
    sourceid: license
    spec:
      file: LICENSE

pullrequests:
  gitea:
    kind: gitea
Top