Update onpr_check-pr.yaml

This commit is contained in:
Alexandre
2024-02-28 07:51:52 +01:00
committed by GitHub
parent 0e5d9b3480
commit 31776eb29f

View File

@@ -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 }}")