Skip to content

Comments

Fix agentic workflow compilation: add strict: false for custom MCP domain#173

Merged
pethers merged 2 commits intomainfrom
copilot/fix-news-workflow-errors
Feb 14, 2026
Merged

Fix agentic workflow compilation: add strict: false for custom MCP domain#173
pethers merged 2 commits intomainfrom
copilot/fix-news-workflow-errors

Conversation

Copy link
Contributor

Copilot AI commented Feb 14, 2026

GitHub Agentic Workflows now default to strict mode, blocking custom network domains. Three news generation workflows failed compilation requiring riksdag-regering MCP server access.

Changes

  • Add strict: false to frontmatter in all three workflow files
  • Regenerate lock files with updated configuration

Example

---
name: News Evening Analysis
description: ...
strict: false  # Allow riksdag-regering-ai.onrender.com MCP server
on:
  schedule:
    - cron: '0 18 * * 1-5'

Context

The riksdag-regering MCP server provides 32 tools for Swedish political data (Parliament, Government, MPs, votes, documents). Required for automated news generation.

Compilation Results:

✓ news-evening-analysis.md     → 55.2 KB
✓ news-article-generator.md    → 56.0 KB
✓ news-realtime-monitor.md     → 55.1 KB

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…ain support

GitHub Agentic Workflows now default to strict mode (likely updated today).
Add explicit strict: false in frontmatter to allow custom network domain
riksdag-regering-ai.onrender.com (trusted MCP server for Swedish political data).

All three workflows now compile successfully:
- news-evening-analysis.md ✓
- news-article-generator.md ✓
- news-realtime-monitor.md ✓

Co-authored-by: pethers <[email protected]>
Copilot AI changed the title [WIP] Fix compilation errors in agentic workflows Fix agentic workflow compilation: add strict: false for custom MCP domain Feb 14, 2026
Copilot AI requested a review from pethers February 14, 2026 18:10
@pethers pethers requested a review from Copilot February 14, 2026 18:13
@github-actions
Copy link
Contributor

🔍 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

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 fixes compilation failures for three GitHub Agentic Workflows by adding strict: false to their frontmatter configuration. GitHub Agentic Workflows now default to strict mode, which blocks custom network domains. The workflows require access to the riksdag-regering MCP server hosted at riksdag-regering-ai.onrender.com for Swedish political data retrieval.

Changes:

  • Add strict: false frontmatter setting to enable custom network domain access
  • Regenerate lock files with gh-aw compiler v0.43.23 (updated from v0.43.18)
  • Update actions-lock.json to include new gh-aw version dependency

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.github/workflows/news-realtime-monitor.md Add strict: false to frontmatter with explanatory comment
.github/workflows/news-evening-analysis.md Add strict: false to frontmatter with explanatory comment
.github/workflows/news-article-generator.md Add strict: false to frontmatter with explanatory comment
.github/workflows/news-realtime-monitor.lock.yml Regenerated lock file with gh-aw v0.43.23 including version updates, new environment variables, new prompt content, permission changes, and action version updates
.github/workflows/news-evening-analysis.lock.yml Regenerated lock file with gh-aw v0.43.23 including version updates, new environment variables, new prompt content, permission changes, and action version updates
.github/workflows/news-article-generator.lock.yml Regenerated lock file with gh-aw v0.43.23 including version updates, new environment variables, new prompt content, permission changes, and action version updates
.github/aw/actions-lock.json Add new gh-aw v0.43.23 dependency entry with SHA pin

@pethers pethers marked this pull request as ready for review February 14, 2026 18:23
@pethers pethers merged commit 813fca6 into main Feb 14, 2026
17 checks passed
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.

2 participants