Skip to content

Commit 302a0bb

Browse files
Refactor lint-addon step in CI workflow
1 parent 5e3809e commit 302a0bb

1 file changed

Lines changed: 24 additions & 24 deletions

File tree

.github/workflows/upstream-ci.yaml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -52,32 +52,32 @@ jobs:
5252
fi
5353
echo "slug=$slug" >> $GITHUB_OUTPUT
5454
55-
lint-addon:
56-
name: Lint App (Add-on)
57-
needs:
58-
- information
59-
runs-on: ubuntu-latest
60-
steps:
61-
- name: ⤵️ Check out code from GitHub
62-
uses: actions/checkout@v4
55+
lint-addon:
56+
name: Lint App (Add-on)
57+
needs:
58+
- information
59+
runs-on: ubuntu-latest
60+
steps:
61+
- name: ⤵️ Check out code from GitHub
62+
uses: actions/checkout@v4
6363

64-
- name: 🚀 Run Add-on Lint
65-
id: addon_lint
66-
continue-on-error: true
67-
uses: homeassistant-apps/action-app-linter@8b7ff1c3cc0213503166a0319fc0c072176b494f # v3.1
68-
with:
69-
community: true
70-
path: "./${{ needs.information.outputs.target }}"
64+
- name: 🚀 Run Add-on Lint
65+
id: addon_lint
66+
continue-on-error: true
67+
uses: homeassistant-apps/action-app-linter@8b7ff1c3cc0213503166a0319fc0c072176b494f # v3.1
68+
with:
69+
community: true
70+
path: "./${{ needs.information.outputs.target }}"
7171

72-
- name: 🟨 Report non-blocking lint failure
73-
if: steps.addon_lint.outcome != 'success'
74-
run: |
75-
{
76-
echo "## 🟨 Add-on linter failed (non-blocking)"
77-
echo ""
78-
echo "This workflow continues because \`continue-on-error: true\` is enabled for the linter step."
79-
echo "See the **\"🚀 Run Add-on Lint\"** step logs above for the exact failure output."
80-
} >> "$GITHUB_STEP_SUMMARY"
72+
- name: 🟨 Report non-blocking lint failure
73+
if: steps.addon_lint.outcome != 'success'
74+
run: |
75+
{
76+
echo "## 🟨 Add-on linter failed (non-blocking)"
77+
echo ""
78+
echo "This workflow continues because \`continue-on-error: true\` is enabled for the linter step."
79+
echo "See the **\"🚀 Run Add-on Lint\"** step logs above for the exact failure output."
80+
} >> "$GITHUB_STEP_SUMMARY"
8181
8282
lint-hadolint:
8383
name: Hadolint

0 commit comments

Comments
 (0)