Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ actionsToolkit.run(
async () => {
const inputs: Inputs = getInputs();
const toolkit = new Toolkit({githubToken: inputs.githubToken});
const context = await getContext(inputs.context, toolkit);
const repo = await toolkit.github.repoData();
const [context, repo] = await Promise.all([
getContext(inputs.context, toolkit),
toolkit.github.repoData()
]);
const setOutput = outputEnvEnabled() ? setOutputAndEnv : core.setOutput;

await core.group(`Context info`, async () => {
Expand Down