You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Annotate Action
v0.1.5
This action creates annotations from a JSON file.
In order to use this action, you will need to generate a JSON file using the following format:
[
{
file: "path/to/file.js",
line: 5,
title: "title for my annotation",
message: "my message",
annotation_level: "failure"
}
]
Required Token used to interact with the GitHub API.
Required Path to a JSON file which contains a list of annotations.
Optional Title of the check. Default: "check".
- name: Annotate
uses: yuzutech/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
title: 'lint'
input: './annotations.json'