-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
45 lines (43 loc) · 1.57 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: 'Post warnings/errors as PR comment'
description: 'GitHub action that parses the compile output and will create PR comment with warnings/errors listed'
inputs:
compile_result_file:
description: 'The file that contains the compilation result'
required: true
compiler:
description: 'The compiler that was used to produce the output (MSVC/GNU/CLANG)'
required: true
default: GNU
token:
description: 'GITHUB_TOKEN or a repo scoped PAT.'
required: true
default: ${{ github.token }}
work_dir:
description: 'The action work directory'
required: true
default: ${{ github.workspace }}
exclude_dir:
description: 'The full path to the directory that should be ignored'
pull_request_number:
description: 'The Github Pull Request number'
required: true
default: ${{ github.event.pull_request.number }}
comment_title:
description: 'The comment title that will be displayed on top of the comment. It is also used to determine whether the comment already exists and should be edited or not.'
required: true
default: COMPILE RESULT
num_lines_to_display:
description: 'The number of lines for the code snippet that will be displayed for each error/warning'
default: 5
debug_output:
description: 'Use this input to generate debug prints'
default: false
server_url:
description: 'URL of GitHub Enterprise server (defaults to github.com)'
default: "https://github.com"
runs:
using: 'node16'
main: 'dist/index.js'
branding:
icon: "book-open"
color: "white"