Skip to content

Update rss-distrowatch.yml #1

Update rss-distrowatch.yml

Update rss-distrowatch.yml #1

name: "Distrowatch - Output to JSON"
on:
workflow_dispatch:
schedule:

Check failure on line 4 in .github/workflows/rss-distrowatch.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/rss-distrowatch.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
- cron: '0 0 * * *'
inputs:
feed_url:
description: "URL of RSS feed to be read"
type: string
required: true
default: 'https://distrowatch.com/news/dwd.xml'
script_output:
description: "Output of the script (e.g. issue, json, pull_request)"
type: string
required: true
default: 'json'
jobs:
manual_rss_feed_execution:
runs-on: ubuntu-latest
steps:
- uses: chrisreddington/rss-parser-action@main
with:
feed_url: ${{ inputs.feed_url }}
script_output: ${{ inputs.script_output }}