ci: skip new files in storage layout checks#1049
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughTwo GitHub Actions workflows were updated to narrow their job matrices. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Resolves #972
Summary
tj-actions/changed-filesas modified, not all changed files.Lib*.sollibraries out of the storage-check matrix, avoiding baseline artifact lookup for files that cannot have prior storage artifacts.foundry-storage-checkjobs.Why this approach
The storage checker compares against artifacts from the base branch. A newly added file cannot have a base-branch storage artifact, which is what produces the
No workflow run found with an artifact named...failure. Using the action's*_modified_filesoutputs keeps the check focused on files that existed before and avoids adding a fragile base-ref lookup to the workflow.QA
*_modified_files, so no missing baseline artifact is requested.Validation
YAML.load_file.git diff --check.tj-actions/changed-files@v42defines themodified_filesoutput used here.