Skip to content

Add automated RSS feed importer for AI4EOSC news - #8

Merged
alvarolopez merged 2 commits into
copilot/add-rss-feed-story-fetcherfrom
copilot/add-automated-rss-feed-importer
Jun 22, 2026
Merged

alvarolopez merged 2 commits into
copilot/add-rss-feed-story-fetcherfrom
copilot/add-automated-rss-feed-importer

Conversation

Copilot AI commented Jun 19, 2026 •

Copy link
Copy Markdown
Contributor

Implements automated daily ingestion of news from AI4EOSC domains (origin, fluid, arena) into the stories collection.

Implementation

  • scripts/import-rss-feeds.mjs: Fetches RSS feeds, parses XML, and generates story markdown files with proper frontmatter. Deduplicates by comparing externalUrl fields against existing stories.

  • .github/workflows/import-rss-feeds.yml: Runs daily at 6 AM UTC. Opens a pull request on branch automated/import-rss-feeds with new stories when changes are detected, allowing review before merging. Manual trigger available via workflow_dispatch.

Generated Story Format

---
title: "Story Title"
type: News
date: 2026-06-19
excerpt: Extracted from RSS description, truncated to 200 chars...
image: https://domain.ai4eosc.eu/path/to/image.png
externalUrl: https://domain.ai4eosc.eu/original-post/
---

Filenames follow YYYY-MM-DD-slug.md pattern. Images extracted from feed content when available.

Copilot AI changed the title [WIP] Add automated RSS feed importer for AI4EOSC news Add automated RSS feed importer for AI4EOSC news Jun 19, 2026
Copilot AI requested a review from alvarolopez June 19, 2026 20:49
@alvarolopez
alvarolopez marked this pull request as ready for review June 22, 2026 07:52
Copilot AI review requested due to automatic review settings June 22, 2026 07:52
@alvarolopez
alvarolopez merged commit c9af8cb into copilot/add-rss-feed-story-fetcher Jun 22, 2026
@alvarolopez
alvarolopez deleted the copilot/add-automated-rss-feed-importer branch June 22, 2026 07:53

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the RSS feed import workflow so that new story files are proposed via an automatically opened pull request rather than being committed directly to the repository, enabling review before merge.

Changes:

  • Replace direct git commit/git push with peter-evans/create-pull-request to open/update a PR when new stories are imported.
  • Limit PR contents to src/content/stories/*.md via add-paths and apply an automated label.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

alvarolopez pushed a commit that referenced this pull request Jun 22, 2026
* Initial plan

* chore: open PR instead of direct commit in RSS importer workflow

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants