-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
action.yml
44 lines (42 loc) · 1.09 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
name: "Readme update Actions"
description: "Fetch latest blog posts and add it to GitHub profile's readme dynamically"
author: "Shubham Kumar"
inputs:
rss_list:
description: "RSS feed url"
default: ""
required: true
readme_path:
description: "Path of readme file"
default: "./README.md"
required: false
max_post:
description: "Max number of posts"
default: "3"
required: false
commit_user:
description: "Git username"
default: "readme-update-bot"
required: false
commit_email:
description: "Git user email"
default: "[email protected]"
required: false
commit_message:
description: "Git commit message"
default: "Update readme with latest blogs"
required: false
outputs:
result_post:
description: "Stringified posts in readme format"
runs:
using: "docker"
image: "Dockerfile"
args:
- "-rss_list=${{ inputs.rss_list }}"
- "-commit_user=${{ inputs.commit_user }}"
- "-commit_email=${{ inputs.commit_email }}"
- "-commit_message=${{ inputs.commit_message }}"
branding:
icon: 'file-text'
color: 'red'