-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
35 lines (32 loc) · 1.09 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
name: crAPI Actions
description: Active Performance for APIs (public, mobile, & web)
author: KhulnaSoft Ltd.
branding:
icon: trending-up
color: red
inputs:
apiSpecURL:
description: OpenAPI-Specification/Swagger URL
required: true
apiBasePath:
description: API Base Path
required: true
authUrl:
description: Token Authentication URL
required: true
authBody:
description: Authentication Body JSON/Data
required: true
authHeaders:
description: Authentication Headers
licenseKey:
description: A code or token that allows the user to identify him/herself as a legal customer
required: false
outputs:
report:
description: Displays performance report
runs:
using: "composite"
steps:
- run: docker run --rm -e apiSpecURL=${{ inputs.apiSpecURL }} -e apiBasePath=${{ inputs.apiBasePath }} -e authUrl=${{ inputs.authUrl }} -e authBody=${{ inputs.authBody }} -e authHeaders=${{ inputs.authHeaders }} -e licenseKey=${{ inputs.licenseKey }} -v ${{ github.workspace }}/.github:/app/.github ghcr.io/khulnasoft/crapi-engine:main
shell: bash