mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-24 09:41:50 +02:00
Update onpr_check-pr.yaml
This commit is contained in:
2
.github/workflows/onpr_check-pr.yaml
vendored
2
.github/workflows/onpr_check-pr.yaml
vendored
@@ -66,7 +66,7 @@ jobs:
|
|||||||
- name: 🔎 Check if a label for the addon exists
|
- name: 🔎 Check if a label for the addon exists
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
labeltext=$(sed -nr "s/name:\s(${{ matrix.addon }}).*/\1/p" '.github/paths-filter.yml')
|
labeltext=$(sed -nr "/${{ matrix.addon }}/p" '.github/paths-filter.yml')
|
||||||
if [[ -z "$labeltext" ]]; then
|
if [[ -z "$labeltext" ]]; then
|
||||||
echo "::error::There is no label for this addon! Please add it to .github/paths-filter.yml"
|
echo "::error::There is no label for this addon! Please add it to .github/paths-filter.yml"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user