Skip to content

Commit

Permalink
Merge branch 'master' into swissweather
Browse files Browse the repository at this point in the history
  • Loading branch information
izacus authored Aug 27, 2024
2 parents e75f883 + 6b3eb9c commit 8e54bae
Show file tree
Hide file tree
Showing 10 changed files with 53 additions and 54 deletions.
38 changes: 10 additions & 28 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
removal: ${{ steps.removal.outputs.removal }}
steps:
- name: Check out repository
uses: actions/[email protected].1
uses: actions/[email protected].7

- name: Clone origin
run: git clone --depth 1 https://github.com/hacs/default /tmp/repositories/default
Expand All @@ -55,18 +55,6 @@ jobs:
id: category
run: echo "category=$(python3 -m scripts.changed.category)" >> $GITHUB_OUTPUT

- name: Clone new addition
if: steps.removal.outputs.removal != 'true'
run: |
repo=$(python3 -m scripts.changed.repo)
git clone --depth 1 "https://github.com/$repo" /tmp/repositories/addition
- name: Upload shared artifacts
if: steps.removal.outputs.removal != 'true'
uses: actions/upload-artifact@v3
with:
name: repositories
path: /tmp/repositories

owner:
runs-on: ubuntu-latest
Expand All @@ -75,13 +63,7 @@ jobs:
if: needs.preflight.outputs.removal != 'true'
steps:
- name: Check out repository
uses: actions/[email protected]

- name: Download shared artifacts
uses: actions/download-artifact@v3
with:
name: repositories
path: /tmp/repositories
uses: actions/[email protected]

- name: Install dependencies if needed
run: scripts/setup
Expand All @@ -90,13 +72,14 @@ jobs:
run: python3 -m scripts.check.owner
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPOSITORY: ${{needs.preflight.outputs.repository}}

edits:
runs-on: ubuntu-latest
name: Check if PR is editable
steps:
- name: Check out repository
uses: actions/[email protected].1
uses: actions/[email protected].7

- name: Install dependencies if needed
run: scripts/setup
Expand All @@ -112,13 +95,12 @@ jobs:
if: needs.preflight.outputs.category == 'integration'
steps:
- name: Check out repository
uses: actions/[email protected].1
uses: actions/[email protected].7

- name: Download shared artifacts
uses: actions/download-artifact@v3
with:
name: repositories
path: /tmp/repositories
- name: Clone new addition
if: steps.removal.outputs.removal != 'true'
run: |
git clone --depth 1 "https://github.com/${{needs.preflight.outputs.repository}}" /tmp/repositories/addition
- name: Get hassfest action
run: |
Expand Down Expand Up @@ -149,4 +131,4 @@ jobs:
uses: "hacs/action@main"
with:
repository: ${{needs.preflight.outputs.repository}}
category: ${{needs.preflight.outputs.category}}
category: ${{needs.preflight.outputs.category}}
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/[email protected].1
uses: actions/[email protected].7

- name: Validate
run: jq --raw-output . appdaemon blacklist critical integration netdaemon plugin python_script removed template theme
Expand All @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/[email protected].1
uses: actions/[email protected].7

- name: Critical
uses: cardinalby/[email protected]
Expand All @@ -52,7 +52,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/[email protected].1
uses: actions/[email protected].7

- name: Check lists
run: python3 scripts/is_sorted.py
8 changes: 4 additions & 4 deletions .github/workflows/upload-critical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
name: Upload
steps:
- name: Checkout the repository
uses: actions/[email protected].1
uses: actions/[email protected].7

- name: Validate with JSON schema
uses: cardinalby/[email protected]
Expand All @@ -27,15 +27,15 @@ jobs:
schema: 'tools/jsonschema/critical.schema.json'

- name: Set up Python
uses: actions/setup-python@v5.0.0
uses: actions/setup-python@v5.1.1
id: python
with:
python-version: "3.x"

- name: Install AWS CLI
run: |
pip3 install \
--disable-pip-version-check install \
--disable-pip-version-check \
--ignore-installed \
awscli
Expand All @@ -46,7 +46,7 @@ jobs:
jq -c '[.[].repository]' < critical > upload/critical/repositories.json
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: critical
path: upload/critical
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/upload-removed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
name: Upload
steps:
- name: Checkout the repository
uses: actions/[email protected].1
uses: actions/[email protected].7

- name: Validate with JSON schema
uses: cardinalby/[email protected]
Expand All @@ -27,15 +27,15 @@ jobs:
schema: 'tools/jsonschema/removed.schema.json'

- name: Set up Python
uses: actions/setup-python@v5.0.0
uses: actions/setup-python@v5.1.1
id: python
with:
python-version: "3.x"

- name: Install AWS CLI
run: |
pip3 install \
--disable-pip-version-check install \
--disable-pip-version-check \
--ignore-installed \
awscli
Expand All @@ -46,7 +46,7 @@ jobs:
jq -c '[.[].repository]' < removed > upload/removed/repositories.json
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: removed
path: upload/removed
Expand Down
3 changes: 3 additions & 0 deletions blacklist
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
"dr1rrb/ha-twinkly",
"DSorlov/hasl-platform",
"dummylabs/watchman",
"dynasticorpheus/gigasetelements-ha",
"eavanvalkenburg/sia",
"echoromeo/hanobo",
"edenhaus/ha-prosenic",
Expand Down Expand Up @@ -202,6 +203,7 @@
"Michsior14/ha-kaiterra",
"Michsior14/ha-laser-egg",
"mlowijs/HomeAssistant-TeslaCustomComponent",
"Mr-Groch/HA-Emulated-Color-Temp-Light",
"MTrab/clever",
"nagyrobi/home-assistant-custom-components-cover-rf-time-based",
"nagyrobi/home-assistant-custom-components-pfsense-gateways",
Expand Down Expand Up @@ -251,6 +253,7 @@
"ryannazaretian/hacs-nexia-climate-integration",
"ryanwinter/hass-rainforest-emu-2",
"safepay/cover.hd_powerview",
"sakowicz/home-assistant-tenda-tracker",
"sdebruyn/homeassistant-bpost-integration",
"SebuZet/samsungrac",
"shaonianzhentan/ha-cloud-music",
Expand Down
17 changes: 7 additions & 10 deletions integration
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
"Archef2000/homeassistant-upsplus",
"ardevd/ha-bobcatminer",
"arifwn/homeassistant-whatspie-integration",
"arjenvrh/audi_connect_ha",
"asantaga/lightwaverf_HA_EnergySensor",
"asantaga/wiserHomeAssistantPlatform",
"asev/homeassistant-helios",
Expand All @@ -86,6 +85,7 @@
"aturri/ha-zcsazzurro",
"atxbyea/samsungrac",
"atymic/project_three_zero_ha",
"audiconnect/audi_connect_ha",
"augustas2/eldes",
"austinmroczek/neovolta",
"avolmensky/panasonic_eolia",
Expand Down Expand Up @@ -288,7 +288,6 @@
"dvd-dev/hilo",
"dwainscheeren/dwains-lovelace-dashboard",
"dylandoamaral/trakt-integration",
"dynasticorpheus/gigasetelements-ha",
"ec-blaster/magicswitchbot-homeassistant",
"edekeijzer/osrm_travel_time",
"edwork/homeassistant-peloton-sensor",
Expand Down Expand Up @@ -382,6 +381,7 @@
"gtjadsonsantos/vapix",
"guerrerotook/securitas-direct-new-api",
"GuilleGF/hassio-ovh",
"GuyKh/ims-custom-component",
"GuyLewin/home-assistant-crunch-o-meter",
"GuyLewin/home-assistant-lifetime-fitness",
"GuySie/ha-meural",
Expand Down Expand Up @@ -411,7 +411,6 @@
"HomeAssistant-Mods/home-assistant-miele",
"hostcc/hass-gs-alarm",
"HrGaertner/HA-vent-optimization",
"htmltiger/config-editor",
"hudsonbrendon/ha_epic_games",
"hudsonbrendon/sensor.drivvo",
"hugobloem/stateful_scenes",
Expand Down Expand Up @@ -464,7 +463,6 @@
"jihao/rokid-webhook-hass",
"jippi/hass-nordnet",
"jjlawren/sonos_cloud",
"jm-73/Indego",
"jmcollin78/solar_optimizer",
"jmcollin78/versatile_thermostat",
"jmcruvellier/little_monkey",
Expand All @@ -476,7 +474,6 @@
"joleys/niko-home-control-II",
"jonasbkarlsson/ev_smart_charging",
"JonasJoKuJonas/homeassistant-WebUntis",
"jonasniesner/open_epaper_link_homeassistant",
"JonasPed/homeassistant-eloverblik",
"jonkristian/wasteplan_trv",
"joselcaguilar/azure-openai-ha",
Expand All @@ -490,6 +487,7 @@
"jugla/keyatome",
"jugla/worldtidesinfocustom",
"juicejuice/homeassistant_redback",
"junkfix/config-editor",
"JurajNyiri/HomeAssistant-Atrea",
"JurajNyiri/HomeAssistant-qBitTorrentAlternativeSpeed",
"JurajNyiri/HomeAssistant-Tapo-Control",
Expand Down Expand Up @@ -557,6 +555,7 @@
"lewei50/ha_iammeter_modbus",
"libdyson-wg/ha-dyson",
"lichtteil/local_luftdaten",
"Limych/ha-apparent-temperature",
"Limych/ha-average",
"Limych/ha-beward",
"Limych/ha-car_wash",
Expand All @@ -565,7 +564,6 @@
"Limych/ha-jq300",
"Limych/ha-narodmon",
"Limych/ha-snowtire",
"Limych/ha-temperature-feels-like",
"lindell/home-assistant-svt-play",
"lindell/home-assistant-tv4-play",
"linsvensson/sensor.greenely",
Expand Down Expand Up @@ -637,7 +635,6 @@
"moralmunky/Home-Assistant-Mail-And-Packages",
"morosanmihail/HA-LondonTfL",
"Mr-Groch/ambihue",
"Mr-Groch/HA-Emulated-Color-Temp-Light",
"Mr-Groch/HA-ESA-NASK-Air-Quality",
"mrk-its/homeassistant-blitzortung",
"MrSleeps/Juwel-HeliaLux-Home-Assistant-Custom-Component",
Expand Down Expand Up @@ -696,6 +693,7 @@
"olibos/HomeAssistant-RecycleApp",
"ollo69/ha-samsungtv-smart",
"ollo69/ha-smartthinq-sensors",
"OpenEPaperLink/Home_Assistant_Integration",
"osk2/panasonic_smart_app",
"osohotwateriot/osoenergy_community",
"oven-lab/tuya_cloud_map_extractor",
Expand Down Expand Up @@ -812,9 +810,9 @@
"rytilahti/homeassistant-upnp-availability",
"safepay/sensor.fronius",
"safepay/sensor.willyweather",
"sakowicz/home-assistant-tenda-tracker",
"samjsmart/ha-zone4",
"samuolis/brink",
"sander1988/Indego",
"sanghviharshit/ha-mila",
"sanghviharshit/ha-monarchmoney",
"sbabcock23/hass-tryfi",
Expand Down Expand Up @@ -879,7 +877,6 @@
"syssi/xiaomi_fan",
"syssi/xiaomi_raw",
"syssi/xiaomiplug",
"t0mer/ims-custom-component",
"t0mer/manish-custom-notifier",
"t0mer/matterbridge-custom-notifier",
"taarskog/home-assistant-component-somweb",
Expand Down Expand Up @@ -972,7 +969,7 @@
"WillCodeForCats/tekmar-482",
"willholdoway/hifiberry",
"wills106/homeassistant-solax-modbus",
"wimb0/home-assistant-saj-modbus",
"wimb0/home-assistant-saj-r5-modbus",
"wizmo2/zidoo-player",
"wlcrs/huawei_solar",
"wolffshots/hass-audiobookshelf",
Expand Down
4 changes: 2 additions & 2 deletions plugin
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@
"gurbyz/power-wheel-card",
"hasl-sensor/lovelace-hasl-departure-card",
"hasl-sensor/lovelace-hasl-traffic-status-card",
"htmltiger/config-editor-card",
"htmltiger/numberbox-card",
"hulkhaugen/hass-bha-icons",
"Hypfer/lovelace-valetudo-map-card",
"iablon/HomeAssistant-Touchpad-Card",
Expand Down Expand Up @@ -164,6 +162,8 @@
"jtbgroup/kodi-playlist-card",
"jtbgroup/kodi-search-card",
"junalmeida/homeassistant-minimalistic-area-card",
"junkfix/config-editor-card",
"junkfix/numberbox-card",
"JurajNyiri/PlexMeetsHomeAssistant",
"kalkih/mini-graph-card",
"kalkih/mini-media-player",
Expand Down
18 changes: 18 additions & 0 deletions removed
Original file line number Diff line number Diff line change
Expand Up @@ -1617,5 +1617,23 @@
"reason": "Repository no longer exsist",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/2537"
},
{
"repository": "Mr-Groch/HA-Emulated-Color-Temp-Light",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/2609"
},
{
"repository": "sakowicz/home-assistant-tenda-tracker",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/2609"
},
{
"repository": "dynasticorpheus/gigasetelements-ha",
"reason": "Repository is archived",
"removal_type": "remove",
"link": "https://github.com/hacs/default/pull/2666"
}
]
3 changes: 1 addition & 2 deletions scripts/check/owner.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import asyncio
import os

from scripts.changed.repo import get_repo
from scripts.helpers.event import get_event
from scripts.remove_publishers import REMOVED_PUBLISHERS
from aiogithubapi import GitHub, AIOGitHubAPIException
Expand All @@ -11,7 +10,7 @@

async def check():
print("Information: https://hacs.xyz/docs/publish/include#check-owner")
repo = get_repo()
repo = os.environ["REPOSITORY"]
event = get_event()
actor = event["pull_request"]["user"]["login"]
repo_owner = repo.split("/")[0].lower()
Expand Down
Loading

0 comments on commit 8e54bae

Please sign in to comment.