-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
40 lines (40 loc) · 1.11 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
name: 'Push Logs to Elasticsearch'
description: 'A GitHub Action to push workflow logs to Elasticsearch'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.ELASTICSEARCH_URL }}
- ${{ inputs.ELASTICSEARCH_INDEX }}
- ${{ inputs.ELASTICSEARCH_API_KEY_ID }}
- ${{ inputs.ELASTICSEARCH_API_KEY }}
- ${{ inputs.GITHUB_TOKEN }}
- ${{ inputs.GITHUB_REPOSITORY }}
- ${{ inputs.GITHUB_RUN_ID }}
- ${{ inputs.GITHUB_PR_NUMBER }}
- ${{ inputs.GITHUB_PR_TITLE }}
inputs:
ELASTICSEARCH_URL:
description: 'Elasticsearch URL'
required: true
ELASTICSEARCH_INDEX:
description: 'Elasticsearch index name'
required: true
ELASTICSEARCH_API_KEY_ID:
description: 'Elasticsearch API Key ID'
required: true
ELASTICSEARCH_API_KEY:
description: 'Elasticsearch API Key'
required: true
GITHUB_TOKEN:
description: 'GitHub token'
required: true
GITHUB_REPOSITORY:
description: 'GitHub repository'
required: true
GITHUB_RUN_ID:
description: 'GitHub run ID'
required: true
GITHUB_PR_NUMBER:
description: 'GitHub PR number'
required: true