Update rss-distrowatch.yml #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Distrowatch - Output to JSON" | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- 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 }} |