create_comment_issue: Add a comment to an issue

Description Usage Arguments Examples

View source: R/create-comment-issue.R

Description

Add a comment to an issue in a gitea server

Usage

1
create_comment_issue(base_url, api_key, owner, repo, id_issue, body)

Arguments

base_url

The base URL for your gitea server (no trailing '/')

api_key

The user's API token key for the gitea service

owner

The owner of the repository

repo

The name of the repository

id_issue

Index of the issue to create a comment

body

The text that is added as a comment to the issue

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
create_comment_issue(base_url = "https://example.gitea.service.com",
                     api_key = "ccaf5c9a22e854856d0c5b1b96c81e851bafb288",
                     owner = "company",
                     repo = "test_repo",
                     id_issue = 2,
                     body = "my first comment on this issue")

## End(Not run)

gitear documentation built on Jan. 13, 2021, 9:44 p.m.