aboutsummaryrefslogtreecommitdiff
path: root/Readme.md
blob: 3542f85385c03d5907e26988a2037dc2ecf24d41 (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
44
# 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.

include and exclude can be ommited.

### 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
```