Repository navigation
fix: stop syncing the lfx-export term dropdown; validate at run time - #2132
Merged
Merged
Conversation
GITHUB_TOKEN can't push workflow-file edits, so the landscape sync fails whenever terms.yml changes. Assisted-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Nate W <natew@cncf.io>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
Runtime validation, synchronization changes, tests, and documentation are consistent and complete.
Pull request overview
Moves LFX export term validation from a synchronized workflow dropdown to runtime validation against terms.yml.
Changes:
- Replaces the export dropdown with validated free-text input.
- Stops landscape sync from modifying the export workflow.
- Adds tests and updates administrator documentation.
File summaries
| File | Description |
|---|---|
.github/workflows/lfx-export.yml |
Validates term input at runtime. |
.github/workflows/landscape-projects-sync.yml |
Stops syncing export options. |
programs/lfx-mentorship/automation/lib/terms-file.js |
Adds term validation helper. |
programs/lfx-mentorship/automation/test/terms-file.test.js |
Tests validation behavior. |
programs/lfx-mentorship/automation/terms.yml |
Documents term consumers. |
programs/lfx-mentorship/automation/ADMIN_GUIDE.md |
Updates operational instructions. |
Review details
- Files reviewed: 6/6 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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_TOKEN can't push workflow-file edits, so the landscape sync
fails whenever terms.yml changes.