Skip to content

Error when GitHub token not provided #4

@Menci

Description

@Menci

The function is called regardless whether the GitHub token is provided or not.

if (latestStage.status === 'failed') {
waiting = false;
core.setFailed(`Deployment failed on step: ${latestStage.name}!`);
await updateDeployment(token, deployment, 'failure');
return;
}

So it will throw an error from octokit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions