Skip to content

Repository script API / upstream-pins / reconciliationInputFromEnvironment

Function: reconciliationInputFromEnvironment() ​

reconciliationInputFromEnvironment(env?): object

Defined in: upstream-pins.mjs:216

Converts the matrix job's environment into the typed reconciliation input.

Parameters ​

env? ​

ProcessEnv = process.env

Returns ​

object

baseBranch ​

baseBranch: string | undefined = env.BASE_BRANCH

compareUrl ​

compareUrl: string | undefined = env.COMPARE_URL

currentCommit ​

currentCommit: string | undefined = env.CURRENT_COMMIT

githubRunUrl ​

githubRunUrl: string | undefined = env.GITHUB_RUN_URL

labels ​

labels: any

latestCommit ​

latestCommit: string | undefined = env.LATEST_COMMIT

needsUpdate ​

needsUpdate: boolean

pinFile ​

pinFile: string | undefined = env.PIN_FILE

runnerTemp ​

runnerTemp: string | undefined = env.RUNNER_TEMP

sourceId ​

sourceId: string | undefined = env.SOURCE_ID

sourceName ​

sourceName: string | undefined = env.SOURCE_NAME

validationResult ​

validationResult: string | undefined = env.VALIDATION_RESULT

pumpkin-plugins documentation