-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
action.yml
77 lines (73 loc) · 1.94 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
71
72
73
74
75
76
77
name: "Actions Readme Feed"
description: "Display RSS feed in your GitHub Profile README"
author: Sarisia
inputs:
url:
description: "RSS Feed URL"
required: true
file:
description: "Path to Markdown file to update"
required: true
sort:
description: "Sort feed entries by date in decending order"
required: false
default: "true"
max_entry:
description: "Number of entries to show"
required: false
default: "5"
format:
description: "Feed format string"
required: false
default: "- ${monthshort} ${02day} - [${title}](${url})"
start_flag:
description: "Start of feed block in Markdown"
required: false
default: "<!-- feed start -->"
end_flag:
description: "End of feed block in Markdown"
required: false
default: "<!-- feed end -->"
locale:
description: "Locale used to format date"
required: false
default: "en-US"
timezone:
description: "Timezone used to format date"
required: false
default: "UTC"
nowrite:
description: "Do not write results to the file specified as `file` input"
required: false
default: "false"
retry:
description: "Number of retries for fetching feeds"
required: false
default: "3"
retry_backoff:
description: "Retry backoff (seconds)"
required: false
default: "5"
ensure_all:
description: "Ensure that all feeds specified in url input are fetched correctly before proceed"
required: false
default: "false"
allow_empty:
description: "Don't fail action if feed has no items"
required: false
default: "false"
outputs:
changed:
description: Whether the document is changed while this actions's run
items:
description: Raw feed entry from rssparser
newlines:
description: New lines inserted to the document
result:
description: Result document with feed lines inserted
runs:
using: "node20"
main: "lib/index.js"
branding:
color: "red"
icon: "rss"