rss-issues-action

command module
v0.0.0-...-74cacbc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

README

RSS issues action

This action create issues from a syndication feed (RSS or Atom).

Inputs

repo-token

Required the GITHUB_TOKEN secret.

feed

Required URL of the rss.

prefix

Prefix added to issues.

lastTime

Limit items date.

labels

Labels to add, comma separated.

dry-run

Log issue creation but do nothing

aggregate

Aggregate all items in a single issue

characterLimit

Limit size of issue content

titleFilter

Don't create an issue if the title matches the specified regular expression (go regular expression syntax)

contentFilter

Don't create an issue if the content matches the specified regular expression (go regular expression syntax)

Outputs

issues

Issues number, comma separated.

Example

step
uses: guilhem/rss-issues-action
with:
  repo-token: ${{ secrets.GITHUB_TOKEN }}
  feed: "https://cloud.google.com/feeds/kubernetes-engine-release-notes.xml"
complete
name: rss

on:
  schedule:
    - cron: "0 * * * *"

jobs:
  gke-release:
    runs-on: ubuntu-latest
    steps:
      - name: rss-issues
        uses: guilhem/rss-issues-action@0.5.2
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          feed: "https://cloud.google.com/feeds/kubernetes-engine-release-notes.xml"
          prefix: "[GKE]"
          characterLimit: "255"
          dry-run: "false"
          lastTime: "92h"
          labels: "liens/Kubernetes"
Real Usage

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL