mirror of
https://github.com/github/codeql-action.git
synced 2026-10-30 01:27:22 +00:00
Add initial ActionState type
This commit is contained in:
14
src/action-common.ts
Normal file
14
src/action-common.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { Env } from "./environment";
|
||||
import { FeatureEnablement } from "./feature-flags";
|
||||
import { Logger } from "./logging";
|
||||
|
||||
export interface ActionState {
|
||||
/** The logger that is in use. */
|
||||
logger: Logger;
|
||||
|
||||
/** Information about environment variables. */
|
||||
env: Env;
|
||||
|
||||
/** Information about enabled feature flags. */
|
||||
features: FeatureEnablement;
|
||||
}
|
||||
Reference in New Issue
Block a user