| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
This PR introduces an environment variable to skip workflow validation for internal use cases where workflows are known to be valid. The main changes include:
Copilot reviewed 9 out of 10 changed files in this pull request and generated no comments.
Show a summary per file| File | Description |
|---|---|
| src/init.ts | Added checkWorkflow function wrapping validation logic with environment variable check |
| src/init-action.ts | Replaced inline workflow validation with call to new checkWorkflow function |
| src/environment.ts | Added SKIP_WORKFLOW_VALIDATION enum entry with documentation |
| src/init.test.ts | Added three test cases covering validation, error logging, and skip scenarios |
| lib/*.js | Generated JavaScript code from TypeScript sources (auto-generated) |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
For internal use, we have CodeQL workflows that we know are valid and don't require validation on every run. This PR changes workflow validation so that it is always skipped for dynamic workflows. It also adds an environment variable which allows us to skip workflow validation.
This PR also slightly refactors the check into a function in workflow.ts and adds test coverage.
Risk assessment
For internal use only. Please select the risk level of this change:
Which use cases does this change impact?
How did/will you validate this change?
If something goes wrong after this change is released, what are the mitigation and rollback strategies?
How will you know if something goes wrong after this change is released?
Merge / deployment checklist