Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6062d1b518 | ||
|
|
4e5993f489 |
+1
-1
@@ -69,7 +69,7 @@ metadata:
|
|||||||
name: sdlc-orchestrator
|
name: sdlc-orchestrator
|
||||||
namespace: sdlc-orchestrator
|
namespace: sdlc-orchestrator
|
||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: letsencrypt-production
|
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||||
spec:
|
spec:
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ export function issueComment(config: Config, coder: CoderClient) {
|
|||||||
return async (c: Context) => {
|
return async (c: Context) => {
|
||||||
const event = await c.req.json<IssueCommentEvent>();
|
const event = await c.req.json<IssueCommentEvent>();
|
||||||
|
|
||||||
if (event.action !== "created") {
|
if (event.action !== "created" && event.action !== "edited") {
|
||||||
return c.text("ignored: not a created event", 200);
|
return c.text("ignored: not a created or edited event", 200);
|
||||||
}
|
}
|
||||||
|
|
||||||
const commenter = event.comment.user.login;
|
const commenter = event.comment.user.login;
|
||||||
|
|||||||
Reference in New Issue
Block a user