| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Warning
Adds feature-flagged support for sourcing the tools input from repository properties.
Changes:
| File | Description |
|---|---|
| src/config/inputs.ts | Resolves effective tools input. |
| src/config/inputs.test.ts | Tests input precedence and enforcement. |
| src/feature-flags.ts | Defines the new feature flag. |
| src/feature-flags/properties.ts | Adds and loads the tools property. |
| src/feature-flags/properties.test.ts | Tests tools-property parsing. |
| src/init-action.ts | Uses the effective tools value during initialization. |
| src/setup-codeql-action.ts | Adds property support to setup. |
| lib/entry-points.js | Generated file; excluded from review by policy. |
Sorry, something went wrong.
There was a problem hiding this comment.
Warning
Sorry, something went wrong.
| ): Promise<ComputedInput | undefined> { | ||
| const name = InputName.Tools; | ||
| const input = action.actions.getOptionalInput(name); | ||
| const propertyValue = repositoryProperties[RepositoryPropertyName.TOOLS]; |
There was a problem hiding this comment.
Warning
Sorry, something went wrong.
There was a problem hiding this comment.
👍🏾 I think most of the code in getToolsInput might be generalized and be reused when getting other repository properties, but we can deal with that when really needed.
Sorry, something went wrong.
Yep, that was my idea when I put it together, but I didn't want to add a bunch of refactoring for the other repo properties to this PR. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR attempts to simplify and tidy up #3766 while resolving conflicts with recent changes to the codebase.
Compared with #3766, there are the following changes:
Risk assessment
For internal use only. Please select the risk level of this change:
Which use cases does this change impact?
Workflow types:
Products:
Environments:
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?
Are there any special considerations for merging or releasing this change?
Merge / deployment checklist