Skip to content

Respect VELA_GITHUB_TOKEN #77

Description

@colindean

Newer versions of Vela automatically provision a short-lived token, stored in VELA_GITHUB_TOKEN.

This token resolution should use PARAMETER_GITHUB_TOKEN first but fallback to whatever's in VELA_GITHUB_TOKEN if PARAMETER_GITHUB_TOKEN, passed as params.github_token, is unspecified.

token: str = Field(env="PARAMETER_GITHUB_TOKEN")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions