Skip to content

"Daily if activity" filtered scheduled triggering #17380

@dsyme

Description

@dsyme

Wondering about custom triggering/activiation which supports

on:
  schedule: daily-if-activity

which means that the agentic part will only activate if there's actually been something happening in the repo since last trigger.

@pelikhan Is this implementable given what we have today or would we have to add something? Maybe custom activation hooks which can use

gh api repos/fsprojects/FSharp.Control.AsyncSeq/events
gh api repos/fsprojects/FSharp.Control.AsyncSeq/issues/events

to determine whether to cancel the activation if there's been no activity?

This could be customized to filter on particular events to considwer them "activity".

The aim would be zero-activity-very-low-cost scheduled repo attentiveness. If no activity, rather than waking up an agentic repo job costing $0.50, wake up a low cost runner costing $0.001

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions