dtu-github-actions 0.8.1 → 0.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -142,12 +142,7 @@ export function createJobResponse(jobId, payload, baseUrl, planId) {
|
|
|
142
142
|
const ownerName = payload.repository?.owner?.login || "redwoodjs";
|
|
143
143
|
const repoName = payload.repository?.name || repoFullName.split("/")[1] || "";
|
|
144
144
|
const workspacePath = `/home/runner/_work/${repoName}/${repoName}`;
|
|
145
|
-
const
|
|
146
|
-
? payload.headSha
|
|
147
|
-
: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
|
|
148
|
-
// realHeadSha is the actual HEAD commit SHA, even when headSha is unset
|
|
149
|
-
// (dirty workspace mode). Used for push event context (before/after).
|
|
150
|
-
const realHeadSha = payload.realHeadSha || headSha;
|
|
145
|
+
const realHeadSha = payload.realHeadSha;
|
|
151
146
|
const Variables = {
|
|
152
147
|
// Standard GitHub Actions environment variables — always set by real runners.
|
|
153
148
|
// CI=true is required by many scripts that branch on CI vs local (e.g. default DB_HOST).
|