Fix agentic workflow compilation: add strict: false for custom MCP domain#173
Merged
Fix agentic workflow compilation: add strict: false for custom MCP domain#173
Conversation
…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
pethers
approved these changes
Feb 14, 2026
Contributor
🔍 Lighthouse Performance Audit
📥 Download full Lighthouse report Budget Compliance: Performance budgets enforced via |
Contributor
There was a problem hiding this comment.
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: falsefrontmatter 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 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
strict: falseto frontmatter in all three workflow filesExample
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:
💡 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.