Skip to content

Commit a7e6696

Browse files
fix(automations): remove webhook trigger to prevent duplicate work
The PULL_REQUEST_EVENT_MERGED webhook and */10 cron can fire simultaneously, spawning two agents that both pick the same issue before either marks it in-progress. This caused duplicate PRs for issues #26 (PRs #45/#46) and #36 (PRs #40/#41). The cron alone ensures work is picked up within 10 minutes. Co-authored-by: Ona <no-reply@ona.com>
1 parent 31d051d commit a7e6696

2 files changed

Lines changed: 0 additions & 16 deletions

File tree

.ona/automations/bug-fixer.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
name: Bug Fixer
22
description: Picks the next bug from GitHub Issues and fixes it autonomously.
33
triggers:
4-
- context:
5-
projects:
6-
projectIds:
7-
- 019d8bf4-1ded-7317-be2f-555e8fb55ff9
8-
pullRequest:
9-
webhookId: 019d8d97-eb6e-70c4-a97d-25952abbc5a7
10-
events:
11-
- PULL_REQUEST_EVENT_MERGED
124
- context:
135
projects:
146
projectIds:

.ona/automations/feature-builder.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
name: Feature Builder
22
description: Picks the next feature from the backlog and implements it autonomously.
33
triggers:
4-
- context:
5-
projects:
6-
projectIds:
7-
- 019d8bf4-1ded-7317-be2f-555e8fb55ff9
8-
pullRequest:
9-
webhookId: 019d8d97-eb6e-70c4-a97d-25952abbc5a7
10-
events:
11-
- PULL_REQUEST_EVENT_MERGED
124
- context:
135
projects:
146
projectIds:

0 commit comments

Comments
 (0)