-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
33 lines (33 loc) · 994 Bytes
/
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
name: RSS to README
description: Replaces a section of the repo's README with the contents of an RSS feed
inputs:
feed-url:
required: true
description: A URL to an RSS feed.
readme-section:
required: true
description: The name of the section of the README to update.
max:
default: 5
description: The maximum number of RSS feed items to show.
template:
default: '* [{{ title }}]({{ link }})'
description: The template to use for each item in the RSS feed. These are joined by a new line.
path:
default: 'README.md'
description: The path to the README file
github_token:
default: ${{ github.token }}
branch:
default: ${{ github.event.repository.default_branch }}
description: The target branch to update.
empty-commits:
default: 'true'
description: set to `false` to disallow empty commits when there are no changes
required: false
runs:
using: node12
main: dist/index.js
branding:
icon: activity
color: red