-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
53 lines (52 loc) · 1.43 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
name: 'Update Profile README'
author: 'Prachi Jamdade'
description: 'Fetch recent articles from RSS feeds and update the user profile README.'
inputs:
feed_urls:name: 'Update Profile README'
author: 'Prachi Jamdade'
description: 'Fetch recent or top articles from RSS feeds and update the user profile README.'
inputs:
feed_urls:
description: 'Comma-separated list of RSS feed URLs'
required: true
article_limit:
description: 'Number of articles to fetch. Use 0 or negative number to fetch recent articles only.'
required: true
default: 5
article_type:
description: 'Type of articles to fetch: "recent" or "top".'
required: true
default: 'recent'
github_token:
description: 'GitHub token for authentication'
required: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.feed_urls }}
- ${{ inputs.article_limit }}
- ${{ inputs.article_type }}
- ${{ inputs.github_token }}
branding:
icon: 'align-right'
color: 'blue'
description: 'Comma-separated list of RSS feed URLs'
required: true
article_limit:
description: 'Number of articles to fetch'
required: true
default: 5
github_token:
description: 'GitHub token for authentication'
required: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.feed_urls }}
- ${{ inputs.article_limit }}
- ${{ inputs.github_token }}
branding:
icon: 'align-right'
color: 'blue'