-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
42 lines (42 loc) · 1.78 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
name: 'report-deploy-to-linear'
author: 'Dany Castillo'
description: 'Report back in Linear issue when associated pull request gets deployed successfully'
inputs:
github-token:
description: 'Github token of the repository (automatically created by Github)'
default: '${{ github.token }}'
required: false
linear-token:
description: 'Personal API key or OAuth access token for Linear workspace'
required: true
linear-comment-body:
description: 'The body of the comment to be added to the Linear issue, in Markdown format, can use variables {{ pullRequest.url }} and {{ pullRequest.title }}'
default: 'Deployed pull request [{{ pullRequest.title }}]({{ pullRequest.url }}) successfully!'
required: false
deployed-commit-sha:
description: 'The SHA of the commit that got deployed'
default: '${{ github.sha }}'
required: false
workflow-repository:
description: 'The owner and repository name of the repo containing the deployment workflow file, for example "octocat/Hello-World"'
default: '${{ github.repository }}'
required: false
workflow-file-name:
description: 'Workflow file name or workflow ref that contains deployment job'
default: '${{ github.workflow_ref }}'
required: false
workflow-job-name:
description: 'Name of deployment job'
default: '${{ github.job }}'
required: false
dry-run:
description: 'Run action without causing any changes'
default: false
required: false
log-level:
description: 'Minimum log level to emit, can be one of "all", "error", "warn", "info", "debug", "off"'
default: 'info'
required: false
runs:
using: 'node20'
main: 'dist/index.js'