mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-01 09:27:44 +01: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,6 @@ 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: |
|
||||||
exit 0
|
|
||||||
labeltext=$(sed -nr "/${{ matrix.addon }}/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"
|
||||||
@@ -137,6 +136,7 @@ jobs:
|
|||||||
id: labels
|
id: labels
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
exit 0
|
||||||
# shellcheck disable=SC2076,SC2059
|
# shellcheck disable=SC2076,SC2059
|
||||||
labels="io.hass.version=${{ steps.information.outputs.version }}"
|
labels="io.hass.version=${{ steps.information.outputs.version }}"
|
||||||
labels=$(printf '%s' "$labels\nio.hass.name=${{ steps.information.outputs.name }}")
|
labels=$(printf '%s' "$labels\nio.hass.name=${{ steps.information.outputs.name }}")
|
||||||
|
|||||||
Reference in New Issue
Block a user