ci: add task schema validation workflow for pull requests#694
Open
okwn wants to merge 2 commits into
Open
Conversation
Collaborator
🟡 Heimdall Review Status
|
- Add validate-addresses.yml workflow (workflow_dispatch + weekly schedule) - Verifies chain ID matches expected for each network - Checks all *_ADDR and *_PROXY variables have contract code - Skips placeholder values - Add pragma check step to validate-templates.yml - Rejects range pragmas (^) in script/ Solidity files - Enforces exact pragma versions per AGENTS.md convention
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.
Summary
.github/workflows/validate-task-schema.ymlthat validates task directory structure on PRs touching task directoriesProblem
There is no automated check that new task directories follow the conventions documented in AGENTS.md. Tasks can be submitted with missing files (e.g., no FACILITATOR.md, no Makefile includes, no Status field in README).
Solution
A lightweight GitHub Actions workflow that runs on PRs touching any task directory (mainnet/, sepolia/, sepolia-alpha/, zeronet/). It validates the schema without modifying any artifacts.
Tests
Risk / Compatibility