forked from gautamkrishnar/blog-post-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
70 lines (68 loc) · 2.51 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: 'Blog Post Workflow'
author: 'Gautam Krishna R'
description: 'Allows you to show your latest blog posts on your github profile or project readme'
inputs:
gh_token:
description: 'GitHub access token with Repo scope'
required: false
default: ${{ github.token }}
readme_path:
description: 'Path of the readme file you want to update'
default: './README.md'
required: false
max_post_count:
description: 'Maximum number of posts you want to show on your readme, all feeds combined'
default: '5'
required: false
feed_list:
description: "Comma separated list of RSS feed urls"
default: ""
required: true
disable_sort:
description: "Disables the sorting of list based on publish date"
default: "false"
required: false
filter_comments:
description: "Comma separated list of platforms you want to enable the comment filter"
default: "medium,stackoverflow/Comment by $author/,stackexchange/Comment by $author/"
required: false
tag_post_pre_newline:
description: "Inserts newline before the closing tag and after the opening tag when using the template option, for formatting"
required: false
template:
description: "Template to use while creating the list of posts. It can contain $title,$url, $newline and $date as variables"
default: "default"
required: false
date_format:
description: "Allows you to change the format of the date or time displayed when using the $date in the template option"
default: "UTC:ddd mmm dd yyyy h:MM TT"
required: false
comment_tag_name:
description: "Override the default comment tag name, if you want to show multiple instances of the action on the same repo"
required: false
user_agent:
description: "Allows you to customize the user agent used by the RSS feed crawler"
default: "rss-parser"
required: false
accept_header:
description: "Allows you to customize the accept header of the http request"
default: "application/rss+xml"
required: false
commit_message:
description: "Commit message used while committing to the repo"
default: "Updated with the latest blog posts"
required: false
committer_username:
description: "Username used while committing to the repo"
default: "blog-post-bot"
required: false
committer_email:
description: "Email id used while committing to the repo"
default: "[email protected]"
required: false
runs:
using: node12
main: dist/blog-post-workflow.js
branding:
icon: 'activity'
color: 'blue'