Skip to content

Commit 9a0fe9e

Browse files
committed
Add permissions
1 parent dd78add commit 9a0fe9e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pr-checks/sync.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,10 @@ function main(): void {
200200
"runs-on": "${{ matrix.os }}",
201201
};
202202

203+
if (checkSpecification.permissions) {
204+
checkJob.permissions = checkSpecification.permissions;
205+
}
206+
203207

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

0 commit comments

Comments
 (0)