on 1.2.3 help sign in
compaREST/action.yaml
47 lines 1.4 kB history raw
1name: compaREST
2author: Typeable
3description: API reliability checker
4inputs:
5 GITHUB_TOKEN:
6 description: "The GitHub access token (e.g. secrets.GITHUB_TOKEN) used to create or update the comment. This defaults to {{ github.token }}."
7 default: "${{ github.token }}"
8 required: false
9 repo:
10 description: The owner of the repo in which to post the comment.
11 default: "${{ github.repository }}"
12 required: false
13 project_name:
14 description: The name of the project to which the API pertains.
15 required: true
16 footer:
17 description: A footer that can be appended to the comment.
18 required: false
19 default: ""
20 old:
21 description: The path to old specification of the API.
22 required: true
23 new:
24 description: The path to new specification of the API.
25 required: true
26 sha:
27 description: The sha of the commit to post the check for.
28 required: false
29 default: "${{ github.event.pull_request.head.sha }}"
30runs:
31 using: "docker"
32 image: "docker://typeable/comparest-github-action:latest"
33 env:
34 GITHUB_TOKEN: "${{ inputs.GITHUB_TOKEN }}"
35 REPO: "${{ inputs.repo }}"
36 PROJECT_NAME: "${{ inputs.project_name }}"
37 FOOTER: "${{ inputs.footer }}"
38 ROOT: "/github/workspace"
39 OLD: "${{ inputs.old }}"
40 NEW: "${{ inputs.new }}"
41 SHA: "${{ inputs.sha }}"
42 pre-entrypoint: "/bin/pre"
43 entrypoint: "/bin/run"
45branding:
46 icon: crosshair
47 color: gray-dark