mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-19 03:17:19 +02:00
Fix add-on changelog and arm64 CI checks
This commit is contained in:
2
.github/workflows/onpr_check-pr.yaml
vendored
2
.github/workflows/onpr_check-pr.yaml
vendored
@@ -35,6 +35,7 @@ jobs:
|
|||||||
git fetch origin "${{ github.event.before }}" || true
|
git fetch origin "${{ github.event.before }}" || true
|
||||||
changed_changelog_files=$(git diff --name-only "${{ github.event.before }}" "${{ github.sha }}" | grep -iE '^([^/]+/)?changelog\.(md|txt|ya?ml|json)$' || true)
|
changed_changelog_files=$(git diff --name-only "${{ github.event.before }}" "${{ github.sha }}" | grep -iE '^([^/]+/)?changelog\.(md|txt|ya?ml|json)$' || true)
|
||||||
echo "$changed_changelog_files"
|
echo "$changed_changelog_files"
|
||||||
|
echo "changelogs_files=$changed_changelog_files" >> "$GITHUB_OUTPUT"
|
||||||
changed_config_files=$(git diff --name-only "${{ github.event.before }}" "${{ github.sha }}" | grep -E '^[^/]+/config\.(json|ya?ml)$' || true)
|
changed_config_files=$(git diff --name-only "${{ github.event.before }}" "${{ github.sha }}" | grep -E '^[^/]+/config\.(json|ya?ml)$' || true)
|
||||||
echo "$changed_config_files"
|
echo "$changed_config_files"
|
||||||
all_changed_files=$(echo -e "$changed_config_files\n$changed_changelog_files" | sort -u)
|
all_changed_files=$(echo -e "$changed_config_files\n$changed_changelog_files" | sort -u)
|
||||||
@@ -208,6 +209,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v7
|
uses: docker/build-push-action@v7
|
||||||
with:
|
with:
|
||||||
context: ${{ matrix.addon }}
|
context: ${{ matrix.addon }}
|
||||||
|
platforms: linux/arm64
|
||||||
push: false
|
push: false
|
||||||
load: true
|
load: true
|
||||||
file: ${{ matrix.addon }}/Dockerfile
|
file: ${{ matrix.addon }}/Dockerfile
|
||||||
|
|||||||
Reference in New Issue
Block a user