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