-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaction.yml
33 lines (33 loc) · 902 Bytes
/
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
name: 'Consensus Warnings'
description: 'Detect consensus code changes in pull requests'
inputs:
github-token:
description: The GitHub token used to create an authenticated client
default: ${{ github.token }}
required: false
api_url:
description: The GitHub API URL
default: ${{ github.api_url }}
repository:
description: The GitHub repository
default: ${{ github.repository }}
pr-number:
description: The PR number to analyze
default: ${{ github.event.pull_request.number }}
roots:
description: 'The comma-separated list of function or method roots'
required: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- "-ghtoken"
- ${{ inputs.github-token }}
- "-apiurl"
- ${{ inputs.api_url }}
- "-repository"
- ${{ inputs.repository }}
- "-pr"
- ${{ inputs.pr-number }}
- "-roots"
- ${{ inputs.roots }}