-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
31 lines (31 loc) · 838 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
28
29
30
31
name: submit-hackernews
branding:
icon: menu
color: orange
description: Submit links to Hacker News.
inputs:
username:
description: The username of the Hacker News user.
required: true
password:
description: The password of the Hacker News user.
required: true
title:
description: The title of the link to submit.
required: true
url:
description: The URL of the link to submit.
required: true
verbose:
description: Whether to output verbose logs. Any non-empty value will be considered true.
required: false
default: ""
runs:
using: docker
image: Dockerfile
env:
HACKERNEWS_USERNAME: ${{ inputs.username }}
HACKERNEWS_PASSWORD: ${{ inputs.password }}
HACKERNEWS_TITLE: ${{ inputs.title }}
HACKERNEWS_URL: ${{ inputs.url }}
VERBOSE: ${{ inputs.verbose }}