mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-25 10:11:53 +02:00
Update check-pr.yaml
This commit is contained in:
4
.github/workflows/check-pr.yaml
vendored
4
.github/workflows/check-pr.yaml
vendored
@@ -1,4 +1,4 @@
|
|||||||
# shellcheck disable=SC2076,SC2059
|
---
|
||||||
name: Check PR Build
|
name: Check PR Build
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
@@ -42,6 +42,7 @@ jobs:
|
|||||||
- name: 🔎 Check for updated CHANGELOG.md
|
- name: 🔎 Check for updated CHANGELOG.md
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
# shellcheck disable=SC2076,SC2059
|
||||||
if [[ ! "${{ needs.check-addon-changes.outputs.changedChangelogFiles }}" =~ "${{ matrix.addon }}/CHANGELOG.md" ]]; then
|
if [[ ! "${{ needs.check-addon-changes.outputs.changedChangelogFiles }}" =~ "${{ matrix.addon }}/CHANGELOG.md" ]]; then
|
||||||
echo "::error::No new entries in ${{ matrix.addon }} CHANGELOG.md file!"
|
echo "::error::No new entries in ${{ matrix.addon }} CHANGELOG.md file!"
|
||||||
exit 1
|
exit 1
|
||||||
@@ -149,6 +150,7 @@ jobs:
|
|||||||
id: labels
|
id: labels
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
# shellcheck disable=SC2076,SC2059
|
||||||
labels="io.hass.version=${{ steps.information.outputs.version }}"
|
labels="io.hass.version=${{ steps.information.outputs.version }}"
|
||||||
labels=$(printf "$labels\nio.hass.name=${{ steps.information.outputs.name }}")
|
labels=$(printf "$labels\nio.hass.name=${{ steps.information.outputs.name }}")
|
||||||
labels=$(printf "$labels\nio.hass.description=${{ steps.information.outputs.description }}")
|
labels=$(printf "$labels\nio.hass.description=${{ steps.information.outputs.description }}")
|
||||||
|
|||||||
Reference in New Issue
Block a user