Skip to content

Instantly share code, notes, and snippets.

@juanesech
Last active October 29, 2025 16:21
Show Gist options
  • Select an option

  • Save juanesech/3135ff6b4f54997dc9cb69f8eafb07b5 to your computer and use it in GitHub Desktop.

Select an option

Save juanesech/3135ff6b4f54997dc9cb69f8eafb07b5 to your computer and use it in GitHub Desktop.
#!/usr/bin/env nu
def main [title_query: string, wf: string = actions.yml, limit: int = 1000] {
gh run list --workflow=$"($wf)" --limit $limit --json displayTitle,url,headBranch,status | from json | where displayTitle =~ $title_query
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment