1
0
Fork 0
mirror of https://github.com/TsakiDev/gitea-comment.git synced 2024-04-24 03:35:05 +02:00
A Drone plugin to post comments on a Gitea Pull Request
Go to file
dependabot[bot] d34a79838c
Bump Microsoft.Extensions.Configuration from 3.1.8 to 8.0.0
Bumps [Microsoft.Extensions.Configuration](https://github.com/dotnet/runtime) from 3.1.8 to 8.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases)
- [Commits](https://github.com/dotnet/runtime/commits/v8.0.0)

---
updated-dependencies:
- dependency-name: Microsoft.Extensions.Configuration
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-15 07:34:02 +00:00
.github Update docker-image.yml 2022-06-28 23:49:45 +03:00
.vscode Initial commit 2022-06-28 22:46:21 +03:00
.gitignore Initial commit 2022-06-28 22:46:21 +03:00
Dockerfile Update docker-image.yml 2022-06-28 23:49:45 +03:00
IT.GiteaComment.csproj Bump Microsoft.Extensions.Configuration from 3.1.8 to 8.0.0 2023-11-15 07:34:02 +00:00
LICENSE.md Initial commit 2022-06-28 22:46:21 +03:00
Program.cs Initial commit 2022-06-28 22:46:21 +03:00
README.md Initial commit 2022-06-28 22:46:21 +03:00

Gitea Comment

A Drone plugin to post comments on a Gitea Pull Request

Docker Hub: https://hub.docker.com/r/tsakidev/giteacomment

Example reference for pull request with static string:

steps:
- name: post-to-gitea-pr
  image: tsakidev/giteacomment:latest
  settings:
    gitea_token:
      from_secret: gitea_token
    gitea_base_url: http://gitea.example.com
    comment: "Hello from Drone"
  when:
    status: [ failure ]
    event: pull_request

Example reference for pull request with input from file:

steps:
- name: post-to-gitea-pr
  image: tsakidev/giteacomment:latest
  settings:
    gitea_token:
      from_secret: gitea_token
    gitea_base_url: http://gitea.example.com
    comment_title: "My Title"
    comment_from_file: "/path/to/file.txt"
  when:
    status: [ failure ]
    event: pull_request