Skip to content

📰 Automated News Generation - 2026-02-17#265

Merged
pethers merged 8 commits intomainfrom
main-833cee879f04323e
Feb 17, 2026
Merged

📰 Automated News Generation - 2026-02-17#265
pethers merged 8 commits intomainfrom
main-833cee879f04323e

Conversation

@github-actions
Copy link
Contributor

Summary

  • Articles Generated: 42 (3 types × 14 languages)
  • Article Types: committee-reports, propositions, motions
  • Timestamp: 2026-02-17T17:40:00Z
  • MCP Tools Used: get_sync_status, get_betankanden, get_propositioner, get_motioner

Articles Created

Committee Reports (14 languages)

Analysis of 10 committee reports from the current Riksdag session covering:

  • SkU: Controls on cash at the internal border; Future data protection at tax/customs agencies
  • FiU: Supplementary Budget Amendment
  • SoU: Better conditions for deploying government personnel abroad
  • MJU: Animal protection
  • CU: A registry for all housing cooperatives
  • NU: Trade policy
  • TU: Road traffic and vehicle issues
  • UbU: Fundamentals of education

Government Propositions (14 languages)

Analysis of 10 government propositions including:

  • A new weapons act (Justitiedepartementet)
  • Measures against VAT fraud (Finansdepartementet)
  • Explosive goods – improved control possibilities (Försvarsdepartementet)
  • National Audit Office report on the Police Reform 2015
  • Crisis management in the financial sector
  • Climate policy framework evaluation
  • Reporting obligations for e-identification companies

Opposition Motions (14 languages)

Analysis of 10 opposition motions including:

  • Security detention – a new indefinite custodial sentence (MP, C)
  • Language requirement in elderly care (V, MP)
  • Constitutional abortion rights and freedom of association (multiple parties)
  • Supplementary tax exchange requirements (S)
  • Labour law conditions in public procurement

Quality Checks

  • HTML structure valid
  • All 14 languages generated
  • Swedish content translated in all non-Swedish articles
  • RTL layout for Arabic and Hebrew
  • News indexes regenerated (14 files)
  • Sitemap updated (396 URLs)
  • Validation script passed
  • Editorial review recommended

Data Sources

  • riksdag-regering-mcp: Swedish Parliament and Government data
  • Tools: get_betankanden, get_propositioner, get_motioner (32 tools available)

This PR was automatically created by the News Article Generator agent

AI generated by News Article Generator

Generate 42 articles (3 types × 14 languages):
- Committee Reports: SkU, FiU, SoU, MJU, CU, SfU, NU, TU, UbU
- Government Propositions: weapons law, VAT fraud, crisis mgmt, climate audit
- Opposition Motions: supplementary tax, security detention, elderly care language

All articles fully translated to target languages.
News indexes and sitemap regenerated.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR contains automatically generated news articles from the Swedish Parliament using the riksdag-regering-mcp data source. The News Article Generator workflow successfully created 42 articles covering committee reports, government propositions, and opposition motions, each translated into 14 languages.

Changes:

  • Updated last-generation metadata tracking file with new generation timestamp and article information
  • Updated all 14 news index files with new articles and corrected item counts
  • Added 42 new article HTML files (3 article types × 14 languages each)

Reviewed changes

Copilot reviewed 57 out of 58 changed files in this pull request and generated 5 comments.

File Description
news/metadata/last-generation.json Updated metadata tracking with 2026-02-17 generation info
news/index*.html (14 files) Updated news indexes with 3 new articles per language
news/2026-02-17-government-propositions-*.html (samples) New government propositions articles in multiple languages

{
"@type": "ListItem",
"position": 3,
"name": "Regeringsvoorstellen: Politieke prioriteiten deze ",
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

The breadcrumb title is truncated. The "name" field contains "Regeringsvoorstellen: Politieke prioriteiten deze " but is cut off mid-word. This appears in the BreadcrumbList structured data and will result in incomplete breadcrumb navigation. The full title should be "Regeringsvoorstellen: Politieke prioriteiten deze week".

Suggested change
"name": "Regeringsvoorstellen: Politieke prioriteiten deze ",
"name": "Regeringsvoorstellen: Politieke prioriteiten deze week",

Copilot uses AI. Check for mistakes.
{
"@type": "ListItem",
"position": 3,
"name": "Propositions gouvernementales: Priorités politique",
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

The breadcrumb title is truncated. The "name" field contains "Propositions gouvernementales: Priorités politique" but is cut off. The complete title should be "Propositions gouvernementales: Priorités politiques cette semaine".

Suggested change
"name": "Propositions gouvernementales: Priorités politique",
"name": "Propositions gouvernementales: Priorités politiques cette semaine",

Copilot uses AI. Check for mistakes.
{
"@type": "ListItem",
"position": 3,
"name": "Proposiciones gubernamentales: Prioridades polític",
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

The breadcrumb title is truncated. The "name" field contains "Proposiciones gubernamentales: Prioridades polític" but is cut off. The complete title should be "Proposiciones gubernamentales: Prioridades políticas esta semana".

Suggested change
"name": "Proposiciones gubernamentales: Prioridades polític",
"name": "Proposiciones gubernamentales: Prioridades políticas esta semana",

Copilot uses AI. Check for mistakes.
{
"@type": "ListItem",
"position": 3,
"name": "Government Propositions: Policy Priorities This We",
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

The breadcrumb title is truncated. The "name" field contains "Government Propositions: Policy Priorities This We" but is cut off. The complete title should be "Government Propositions: Policy Priorities This Week".

Suggested change
"name": "Government Propositions: Policy Priorities This We",
"name": "Government Propositions: Policy Priorities This Week",

Copilot uses AI. Check for mistakes.
{
"@type": "ListItem",
"position": 3,
"name": "Regierungsvorlagen: Politische Prioritäten diese W",
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

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

The breadcrumb title is truncated. The "name" field contains "Regierungsvorlagen: Politische Prioritäten diese W" but is cut off. The complete title should be "Regierungsvorlagen: Politische Prioritäten diese Woche".

Suggested change
"name": "Regierungsvorlagen: Politische Prioritäten diese W",
"name": "Regierungsvorlagen: Politische Prioritäten diese Woche",

Copilot uses AI. Check for mistakes.
@pethers
Copy link
Member

pethers commented Feb 17, 2026

@copilot open a new pull request to apply changes based on the comments in this thread

Copy link
Contributor

Copilot AI commented Feb 17, 2026

@pethers I've opened a new pull request, #267, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 2 commits February 17, 2026 20:18
- Fixed 8 language versions with truncated breadcrumb titles
- Danish (da): "...denne u" → "...denne uge"
- German (de): "...diese W" → "...diese Woche"
- English (en): "...This We" → "...This Week"
- Spanish (es): "...polític" → "...políticas esta semana"
- Finnish (fi): "...priorite" → "...prioriteetit"
- French (fr): "...politique" → "...politiques cette semaine"
- Dutch (nl): "...deze " → "...deze week"
- Norwegian (no): "...prioritering" → "...prioriteringer denne uken"

All HTML validated successfully with htmlhint.

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Fix truncated breadcrumb titles in government propositions articles (8 languages)
@pethers pethers requested a review from Copilot February 17, 2026 20:39
@github-actions github-actions bot added html-css HTML/CSS changes i18n Internationalization/localization translation Translation updates rtl RTL language support (Arabic, Hebrew) deployment Deployment configuration news size-xl Extra large change (> 1000 lines) labels Feb 17, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 57 out of 58 changed files in this pull request and generated no new comments.

@pethers
Copy link
Member

pethers commented Feb 17, 2026

@copilot sync and fix conflicts with sitemap.xml and main branch

This branch has conflicts that must be resolved
Use the web editor or the command line to resolve conflicts before continuing.

sitemap.xml

Copy link
Contributor

Copilot AI commented Feb 17, 2026

@pethers I've opened a new pull request, #268, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 2 commits February 17, 2026 21:17
…flicts

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Merge main branch - resolve sitemap.xml timestamp conflicts
@github-actions github-actions bot added workflow GitHub Actions workflows ci-cd CI/CD pipeline changes agentic-workflow labels Feb 17, 2026
Signed-off-by: James Pether Sörling <pethers@users.noreply.github.com>
@pethers pethers marked this pull request as ready for review February 17, 2026 21:22
@pethers pethers merged commit 5576e2e into main Feb 17, 2026
10 checks passed
@pethers pethers deleted the main-833cee879f04323e branch February 17, 2026 21:22
@github-actions
Copy link
Contributor Author

🔍 Lighthouse Performance Audit

Category Score Status
Performance 85/100 🟡
Accessibility 95/100 🟢
Best Practices 90/100 🟢
SEO 95/100 🟢

📥 Download full Lighthouse report

Budget Compliance: Performance budgets enforced via budget.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agentic-workflow automated-news ci-cd CI/CD pipeline changes deployment Deployment configuration html-css HTML/CSS changes i18n Internationalization/localization needs-editorial-review news news-generation rtl RTL language support (Arabic, Hebrew) size-xl Extra large change (> 1000 lines) translation Translation updates workflow GitHub Actions workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants