Skip to content

Commit fa34268

Browse files
authored
JIT configを作成 (#558)
* Add Octokit integration for GitHub App webhook handling and update dependencies * Refactor runner label assignment for clarity in webhook handling * Refactor runner name assignment for clarity in runner creation response * Enhance error handling in runner JIT config generation and update tests for installation ID validation * Add validation for GH_APP_ID and GH_APP_PRIVATE_KEY in webhook handling * Add GH_APP_ID and GH_APP_PRIVATE_KEY to environment setup in test workflow
1 parent decc44a commit fa34268

File tree

8 files changed

+599
-9
lines changed

8 files changed

+599
-9
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
run: |
2222
cat <<'EOF' > .env
2323
GH_APP_WEBHOOK_SECRET=${{ secrets.GH_APP_WEBHOOK_SECRET }}
24+
GH_APP_ID=${{ secrets.GH_APP_ID }}
25+
GH_APP_PRIVATE_KEY=${{ secrets.GH_APP_PRIVATE_KEY }}
2426
EOF
2527
2628
- name: Setup Biome

biome.jsonc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,7 @@
2222
"correctness": {
2323
"noUnusedImports": "error"
2424
},
25-
"recommended": true,
26-
"suspicious": {
27-
"noConsole": "warn"
28-
}
25+
"recommended": true
2926
}
3027
}
3128
}

openci-runner/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,5 @@ dist
165165
.env*
166166
!.env.example
167167
.wrangler/
168+
169+
**/*.pem

0 commit comments

Comments
 (0)