mirror of
https://github.com/github/codeql-action
synced 2026-05-23 20:00:54 +03:00
Add basic job steps
This commit is contained in:
@@ -183,6 +183,17 @@ function main(): void {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Construct the workflow steps needed for this check.
|
||||
const steps: any[] = [
|
||||
{
|
||||
name: "Check out repository",
|
||||
uses: "actions/checkout@v6",
|
||||
},
|
||||
];
|
||||
|
||||
steps.push(...checkSpecification.steps);
|
||||
|
||||
const checkJob: Record<string, any> = {
|
||||
strategy: {
|
||||
"fail-fast": false,
|
||||
@@ -198,6 +209,7 @@ function main(): void {
|
||||
},
|
||||
"timeout-minutes": 45,
|
||||
"runs-on": "${{ matrix.os }}",
|
||||
steps,
|
||||
};
|
||||
|
||||
if (checkSpecification.permissions) {
|
||||
|
||||
Reference in New Issue
Block a user