-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
27 lines (27 loc) · 924 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
name: 'show-card-in-issue'
description: 'Show some cards in an issue when requested to do so via /show'
inputs:
app-id:
description: 'appid to use to comment and put image data'
required: true
app-private-key:
description: 'private key of app to use to comment and put image data'
required: true
sha:
description: 'sha for which data should be posted'
required: true
content-path:
description: 'path under which metadata and pdf can be found to extract data from'
required: true
runs:
using: "composite"
steps:
- run: nix run $GITHUB_ACTION_PATH ${{ inputs.content-path }}
shell: bash
env:
sha: ${{ inputs.sha }}
APPID: ${{ inputs.app-id }}
PRIVATEKEY: ${{ inputs.app-private-key }}
BODY: ${{ github.event.comment.body }}
HTML_URL: ${{ github.event.comment.html_url }}
ISSUE_NUMBER: ${{ github.event.issue.number }}