Webhooks for the AT Protocol airglow.run
atproto atprotocol automation webhook
12
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: creat automation in dry run by default

Hugo e03ae359 75ca09ac

+4
+4
app/routes/api/automations/index.ts
··· 71 71 fetches?: Array<{ name: string; uri: string; comment?: string }>; 72 72 conditions?: Array<{ field: string; operator?: string; value: string; comment?: string }>; 73 73 active?: boolean; 74 + dryRun?: boolean; 74 75 }>(); 75 76 76 77 // Validate name ··· 227 228 228 229 // Write record to PDS 229 230 const active = body.active !== false; 231 + const dryRun = body.dryRun !== false; 230 232 const now = new Date(); 231 233 let uri: string; 232 234 let rkey: string; ··· 241 243 fetches: pdsFetches.length > 0 ? pdsFetches : undefined, 242 244 conditions, 243 245 active, 246 + dryRun, 244 247 createdAt: now.toISOString(), 245 248 }); 246 249 uri = result.uri; ··· 264 267 fetches: localFetches, 265 268 conditions, 266 269 active, 270 + dryRun, 267 271 indexedAt: now, 268 272 }); 269 273 } catch (err) {