2026-02-03 12:55:24 -05:00
|
|
|
module "pr-workqueue" {
|
|
|
|
|
source = "chainguard-dev/common/infra//modules/cloudevents-workqueue"
|
2026-02-03 10:02:36 -05:00
|
|
|
|
|
|
|
|
project_id = var.project_id
|
|
|
|
|
name = "pr-events"
|
2026-02-03 12:55:24 -05:00
|
|
|
regions = module.networking.regional-networks
|
|
|
|
|
broker = module.cloudevent-broker.broker
|
2026-02-03 10:02:36 -05:00
|
|
|
|
2026-02-03 12:55:24 -05:00
|
|
|
# Empty filter matches all events that have pullrequesturl extension
|
|
|
|
|
# This includes pull_request, issue_comment on PRs, pull_request_review, etc.
|
|
|
|
|
filters = [{}]
|
|
|
|
|
|
|
|
|
|
extension_key = "pullrequesturl"
|
2026-02-03 10:02:36 -05:00
|
|
|
|
2026-02-03 12:55:24 -05:00
|
|
|
workqueue = {
|
|
|
|
|
name = module.pr-reconciler.receiver.name
|
2026-02-03 10:02:36 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
team = var.team
|
|
|
|
|
notification_channels = []
|
2026-02-03 13:42:59 -05:00
|
|
|
deletion_protection = var.deletion_protection
|
2026-02-03 10:02:36 -05:00
|
|
|
}
|
2026-02-18 17:26:31 +00:00
|
|
|
|
|
|
|
|
module "pr-risk-scorer-workqueue" {
|
|
|
|
|
source = "chainguard-dev/common/infra//modules/cloudevents-workqueue"
|
|
|
|
|
|
|
|
|
|
project_id = var.project_id
|
|
|
|
|
name = "pr-risk-scorer-events"
|
|
|
|
|
regions = module.networking.regional-networks
|
|
|
|
|
broker = module.cloudevent-broker.broker
|
|
|
|
|
|
|
|
|
|
# Empty filter matches all events that have pullrequesturl extension
|
|
|
|
|
# This includes pull_request, issue_comment on PRs, pull_request_review, etc.
|
|
|
|
|
filters = [{}]
|
|
|
|
|
|
|
|
|
|
extension_key = "pullrequesturl"
|
|
|
|
|
|
|
|
|
|
workqueue = {
|
|
|
|
|
name = module.pr-risk-scorer.receiver.name
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
team = var.team
|
|
|
|
|
notification_channels = []
|
|
|
|
|
deletion_protection = var.deletion_protection
|
|
|
|
|
}
|