Skip to content

Commit b948e56

Browse files
committed
Add basic job steps
1 parent c889588 commit b948e56

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pr-checks/sync.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,17 @@ function main(): void {
183183
}
184184
}
185185
}
186+
187+
// Construct the workflow steps needed for this check.
188+
const steps: any[] = [
189+
{
190+
name: "Check out repository",
191+
uses: "actions/checkout@v6",
192+
},
193+
];
194+
195+
steps.push(...checkSpecification.steps);
196+
186197
const checkJob: Record<string, any> = {
187198
strategy: {
188199
"fail-fast": false,
@@ -198,6 +209,7 @@ function main(): void {
198209
},
199210
"timeout-minutes": 45,
200211
"runs-on": "${{ matrix.os }}",
212+
steps,
201213
};
202214

203215
if (checkSpecification.permissions) {

0 commit comments

Comments
 (0)