/
action.yml
50 lines (50 loc) · 1.29 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
43
44
45
46
47
48
49
50
name: Release for Reddit
description: Submit a Reddit post about your release
author: Bjorn Lu
branding:
icon: send
color: red
inputs:
username:
description: Your Reddit username
required: true
password:
description: Your Reddit password
required: true
app-id:
description: The app ID
required: true
app-secret:
description: The app secret
required: true
subreddit:
description: The subreddit to post
required: true
title:
description: The post title
required: false
default: '${{ github.repository }} ${{ github.event.release.tag_name }} Released'
url:
description: The post url
required: false
default: ${{ github.event.release.html_url }}
flair-id:
description: The post flair's ID
required: false
flair-text:
description: The post flair's text (applicable if text_editable is true)
required: false
comment:
description: Add a comment to the post
required: false
notification:
description: Whether to send post and comment replies to inbox
required: false
default: false
retry-rate-limit:
description: How many times to retry if it hits the rate limit. This will wait for the limit to end before retrying.
required: false
default: 1
runs:
using: node16
main: dist/index.js