mirror of
https://github.com/TsakiDev/gitea-comment.git
synced 2024-09-18 08:51:57 +02:00
update README.md
This commit is contained in:
parent
1704dc9b93
commit
c3849fab63
19
README.md
19
README.md
@ -36,3 +36,22 @@ steps:
|
|||||||
status: [ failure ]
|
status: [ failure ]
|
||||||
event: pull_request
|
event: pull_request
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Example reference providing Markdown comments from Marktdown files:
|
||||||
|
|
||||||
|
Do not specify the title so that the contents of the file are not
|
||||||
|
encapsulated within a code block.
|
||||||
|
|
||||||
|
```yml
|
||||||
|
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_from_file: "/path/to/file.md"
|
||||||
|
when:
|
||||||
|
status: [ failure ]
|
||||||
|
event: pull_request
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user