blob: d58646a1fa124f74cf03200fe98e61daa8abb5f1 (
plain)
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
|
# rss-to-gitea
Create Gitea-Issue for newest entry in Atom-Feed.
Can be used to automatically create Update-Tickets.
## Usage
```
rsstogitea config.yml
```
## Configuration
* **url** Gitea-URL
* **token** API-Token, either in plain or in an environment variable with `env/<VAR>`
* **owner** Owner of the repo to create issues in
* **repo** Name of the repo to create issues in
* **label** Label to add to created Issue
* **feeds** list of
* **url** Atom-Feed URL
* **name** Name of the Feed. Used as issue-name prefix
* **assign** User to assign the issue to
* **exclude** List. If name of item contains one or more, item is ignored. Not Regex.
* **include** List. Item is ignored if title does not contain all strings. Not Regex.
### Example
```yaml
---
url: 'https://gitea.example.com'
token: 'env/GITEA_TOKEN'
owner: 'org'
repo: 'repo'
label: 'update'
feeds:
- url: 'https://github.com/go-gitea/gitea/releases.atom'
name: 'Gitea'
assign: 'user'
exclude:
- dev
- rc
include: []
```
|