-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
51 lines (51 loc) · 1.31 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
46
47
48
49
50
51
# action.yml
name: 'diffctx'
description: 'A GitHub action for automatically evaluating the function level impacts of Pull Requests.'
branding:
color: 'green'
icon: 'at-sign'
inputs:
lang:
description: 'language of your repo'
required: true
default: 'python'
before_sha:
description: 'before sha'
required: true
default: ${{ github.event.pull_request.base.sha }}
after_sha:
description: 'after sha'
required: true
default: ${{ github.sha }}
repo_token:
description: "A GitHub token for API access. Defaults to {{ github.token }}."
default: "${{ github.token }}"
required: false
issue_number:
description: "issue number"
default: "${{ github.event.number }}"
required: false
debug_mode:
description: "enable debug mode if not empty"
default: ""
required: false
lsif_file:
description: "specific lsif file input"
default: ""
required: false
index_cmd:
description: "custom index command"
default: ""
required: false
runs:
using: 'docker'
image: 'williamfzc/diffctx:v0.3.13'
args:
- ${{ inputs.lang }}
- ${{ inputs.before_sha }}
- ${{ inputs.after_sha }}
- ${{ inputs.repo_token }}
- ${{ inputs.issue_number }}
- ${{ inputs.debug_mode }}
- ${{ inputs.lsif_file }}
- ${{ inputs.index_cmd }}