Skip to content

Commit e62a268

Browse files
committed
Add job construction
1 parent 63b4776 commit e62a268

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

pr-checks/sync.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,16 @@ function main(): void {
183183
}
184184
}
185185
}
186+
const checkJob: Record<string, any> = {
187+
name: checkSpecification.name,
188+
if: "github.triggering_actor != 'dependabot[bot]'",
189+
permissions: {
190+
contents: "read",
191+
"security-events": "read",
192+
},
193+
"timeout-minutes": 45,
194+
};
195+
186196

187197
let extraGroupName = "";
188198
for (const inputName of Object.keys(workflowInputs)) {

0 commit comments

Comments
 (0)