Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit cb15aca

Browse files
committed
Fix checkout
1 parent 8273bc3 commit cb15aca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/events.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,12 @@ const LoadProjectStep: NpmStep = {
6363
name: "load",
6464
run: async (ctx, params) => {
6565
const repo = eventRepo(ctx.data);
66-
66+
const commit = eventCommit(ctx.data);
6767
const project: project.Project = await ctx.project.clone(
6868
repository.gitHub({
6969
owner: repo.owner,
7070
repo: repo.name,
71+
sha: commit.sha,
7172
credential: await ctx.credential.resolve(
7273
secret.gitHubAppTokenFromRepository(ctx.data.commit),
7374
),

0 commit comments

Comments
 (0)