You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
2.3 KiB
46 lines
2.3 KiB
######################################################################
|
|
# @CCOSTAN - Follow Me on X
|
|
# For more info visit https://www.vcloudinfo.com/click-here
|
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
|
# -------------------------------------------------------------------
|
|
# GitHub Watched Repo Scout - Nightly Joanna review of watched repos
|
|
# Schedules Joanna to review unread watched-repo notifications for HA ideas.
|
|
# -------------------------------------------------------------------
|
|
# Notes: Joanna native GitHub scout logic runs in docker_17/codex_appliance.
|
|
# Notes: Successfully processed watched-repo notifications are marked read by Joanna.
|
|
######################################################################
|
|
|
|
automation:
|
|
- id: github_watched_repo_scout_nightly
|
|
alias: GitHub Watched Repo Scout - Nightly Joanna Review
|
|
description: Ask Joanna nightly to review unread watched-repo GitHub notifications for Home Assistant ideas.
|
|
mode: single
|
|
trigger:
|
|
- platform: time
|
|
at: "03:15:00"
|
|
variables:
|
|
trigger_context: "HA automation github_watched_repo_scout_nightly (GitHub Watched Repo Scout - Nightly Joanna Review)"
|
|
action:
|
|
- service: script.send_to_logbook
|
|
data:
|
|
topic: "GITHUB"
|
|
message: "Requesting Joanna nightly watched-repo scout review."
|
|
- service: script.joanna_dispatch
|
|
data:
|
|
trigger_context: "{{ trigger_context }}"
|
|
source: "home_assistant_automation.github_watched_repo_scout_nightly"
|
|
summary: "Nightly GitHub watched-repo scout review for Home Assistant ideas"
|
|
diagnostics: >-
|
|
schedule=03:15:00,
|
|
inbox_scope=unread,
|
|
repo_scope=watched,
|
|
create_issues=true,
|
|
mark_read_on_success=true
|
|
request: >-
|
|
Review unread GitHub notifications from watched repositories only.
|
|
Look for interesting Home Assistant configuration ideas we could apply in
|
|
our own repo, send a concise nightly recap, create or refresh one
|
|
GitHub issue per strong candidate in CCOSTAN/Home-AssistantConfig, and
|
|
mark each watched-repo notification read only after it has been
|
|
processed successfully. Leave failed items unread for the next run.
|