Skip to content

Commit a50ef4d

Browse files
committed
Merge branch 'dev' into revamp-integration-card
2 parents 250e9c0 + b72b6c7 commit a50ef4d

995 files changed

Lines changed: 45494 additions & 37820 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ DO NOT DELETE ANY TEXT from this template! Otherwise, your issue may be closed w
6767
<!--
6868
If your issue is about how an entity is shown in the UI, please add the state
6969
and attributes for all situations with a screenshot of the UI.
70-
You can find this information at `/config/developer-tools/state`
70+
You can find this information at `/config/tools/state`
7171
-->
7272

7373
```yaml

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ body:
9494
label: State of relevant entities
9595
description: >
9696
If your issue is about how an entity is shown in the UI, please add the
97-
state and attributes for all situations. You can find this information
98-
at Developer Tools -> States.
97+
state and attributes for all situations. You can find this
98+
information in the Details view of the More info dialog.
9999
render: txt
100100
- type: textarea
101101
attributes:

.github/workflows/blocking-labels.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Check out workflow scripts
24-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2525
with:
2626
persist-credentials: false
2727
sparse-checkout: .github/scripts

.github/workflows/cast_deployment.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
if: github.event_name != 'push'
2222
environment:
2323
name: Cast Development
24-
url: ${{ steps.deploy.outputs.NETLIFY_LIVE_URL || steps.deploy.outputs.NETLIFY_URL }}
24+
url: ${{ steps.deploy.outputs.netlify_url }}
2525
steps:
2626
- name: Check out files from GitHub
27-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
27+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2828
with:
2929
ref: dev
3030
persist-credentials: false
@@ -46,7 +46,8 @@ jobs:
4646
- name: Deploy to Netlify
4747
id: deploy
4848
run: |
49-
npx -y netlify-cli deploy --dir=cast/dist --alias dev
49+
npx -y netlify-cli deploy --dir=cast/dist --alias dev --json > deploy_output.json
50+
echo "netlify_url=$(jq -r '.url // .deploy_url' deploy_output.json)" >> "$GITHUB_OUTPUT"
5051
env:
5152
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
5253
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_CAST_SITE_ID }}
@@ -57,10 +58,10 @@ jobs:
5758
if: github.event_name == 'push'
5859
environment:
5960
name: Cast Production
60-
url: ${{ steps.deploy.outputs.NETLIFY_LIVE_URL || steps.deploy.outputs.NETLIFY_URL }}
61+
url: ${{ steps.deploy.outputs.netlify_url }}
6162
steps:
6263
- name: Check out files from GitHub
63-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
64+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
6465
with:
6566
ref: master
6667
persist-credentials: false
@@ -82,7 +83,8 @@ jobs:
8283
- name: Deploy to Netlify
8384
id: deploy
8485
run: |
85-
npx -y netlify-cli deploy --dir=cast/dist --prod
86+
npx -y netlify-cli deploy --dir=cast/dist --prod --json > deploy_output.json
87+
echo "netlify_url=$(jq -r '.url // .deploy_url' deploy_output.json)" >> "$GITHUB_OUTPUT"
8688
env:
8789
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
8890
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_CAST_SITE_ID }}

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ubuntu-latest
2828
steps:
2929
- name: Check out files from GitHub
30-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
30+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
3131
with:
3232
persist-credentials: false
3333
- name: Setup Node
@@ -65,7 +65,7 @@ jobs:
6565
runs-on: ubuntu-latest
6666
steps:
6767
- name: Check out files from GitHub
68-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
68+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
6969
with:
7070
persist-credentials: false
7171
- name: Setup Node
@@ -85,7 +85,7 @@ jobs:
8585
runs-on: ubuntu-latest
8686
steps:
8787
- name: Check out files from GitHub
88-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
88+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
8989
with:
9090
persist-credentials: false
9191
- name: Setup Node

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
steps:
2929
- name: Checkout repository
30-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
30+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
3131
with:
3232
# We must fetch at least the immediate parents so that if this is
3333
# a pull request then we can checkout the head.

.github/workflows/demo_deployment.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
if: github.event_name != 'push' || github.ref_name != 'master'
2323
environment:
2424
name: Demo Development
25-
url: ${{ steps.deploy.outputs.NETLIFY_LIVE_URL || steps.deploy.outputs.NETLIFY_URL }}
25+
url: ${{ steps.deploy.outputs.netlify_url }}
2626
steps:
2727
- name: Check out files from GitHub
28-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
28+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2929
with:
3030
ref: dev
3131
persist-credentials: false
@@ -47,7 +47,8 @@ jobs:
4747
- name: Deploy to Netlify
4848
id: deploy
4949
run: |
50-
npx -y netlify-cli deploy --dir=demo/dist --prod
50+
npx -y netlify-cli deploy --dir=demo/dist --prod --json > deploy_output.json
51+
echo "netlify_url=$(jq -r '.url // .deploy_url' deploy_output.json)" >> "$GITHUB_OUTPUT"
5152
env:
5253
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
5354
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_DEMO_DEV_SITE_ID }}
@@ -58,10 +59,10 @@ jobs:
5859
if: github.event_name == 'push' && github.ref_name == 'master'
5960
environment:
6061
name: Demo Production
61-
url: ${{ steps.deploy.outputs.NETLIFY_LIVE_URL || steps.deploy.outputs.NETLIFY_URL }}
62+
url: ${{ steps.deploy.outputs.netlify_url }}
6263
steps:
6364
- name: Check out files from GitHub
64-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
65+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
6566
with:
6667
ref: master
6768
persist-credentials: false
@@ -83,7 +84,8 @@ jobs:
8384
- name: Deploy to Netlify
8485
id: deploy
8586
run: |
86-
npx -y netlify-cli deploy --dir=demo/dist --prod
87+
npx -y netlify-cli deploy --dir=demo/dist --prod --json > deploy_output.json
88+
echo "netlify_url=$(jq -r '.url // .deploy_url' deploy_output.json)" >> "$GITHUB_OUTPUT"
8789
env:
8890
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
8991
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_DEMO_SITE_ID }}

.github/workflows/design_deployment.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
runs-on: ubuntu-latest
1717
environment:
1818
name: Design
19-
url: ${{ steps.deploy.outputs.NETLIFY_LIVE_URL || steps.deploy.outputs.NETLIFY_URL }}
19+
url: ${{ steps.deploy.outputs.netlify_url }}
2020
steps:
2121
- name: Check out files from GitHub
22-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
22+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2323
with:
2424
persist-credentials: false
2525

@@ -40,7 +40,8 @@ jobs:
4040
- name: Deploy to Netlify
4141
id: deploy
4242
run: |
43-
npx -y netlify-cli deploy --dir=gallery/dist --prod
43+
npx -y netlify-cli deploy --dir=gallery/dist --prod --json > deploy_output.json
44+
echo "netlify_url=$(jq -r '.url // .deploy_url' deploy_output.json)" >> "$GITHUB_OUTPUT"
4445
env:
4546
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
4647
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_GALLERY_SITE_ID }}

.github/workflows/design_preview.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
if: github.repository == 'home-assistant/frontend' && contains(github.event.pull_request.labels.*.name, 'needs design preview')
2525
steps:
2626
- name: Check out files from GitHub
27-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
27+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
2828
with:
2929
persist-credentials: false
3030

@@ -47,11 +47,10 @@ jobs:
4747
run: |
4848
npx -y netlify-cli deploy --dir=gallery/dist --alias "deploy-preview-${{ github.event.number }}" \
4949
--json > deploy_output.json
50+
echo "netlify_url=$(jq -r '.url // .deploy_url' deploy_output.json)" >> "$GITHUB_OUTPUT"
5051
env:
5152
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
5253
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_GALLERY_SITE_ID }}
5354

5455
- name: Generate summary
55-
run: |
56-
NETLIFY_LIVE_URL=$(jq -r '.deploy_url' deploy_output.json)
57-
echo "$NETLIFY_LIVE_URL" >> "$GITHUB_STEP_SUMMARY"
56+
run: echo "${{ steps.deploy.outputs.netlify_url }}" >> "$GITHUB_STEP_SUMMARY"

.github/workflows/e2e.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Check out files from GitHub
31-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
31+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
3232
with:
3333
persist-credentials: false
3434

@@ -60,7 +60,7 @@ jobs:
6060
runs-on: ubuntu-latest
6161
steps:
6262
- name: Check out files from GitHub
63-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
63+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
6464
with:
6565
persist-credentials: false
6666

@@ -92,7 +92,7 @@ jobs:
9292
runs-on: ubuntu-latest
9393
steps:
9494
- name: Check out files from GitHub
95-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
95+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
9696
with:
9797
persist-credentials: false
9898

@@ -129,7 +129,7 @@ jobs:
129129
timeout-minutes: 30
130130
steps:
131131
- name: Check out files from GitHub
132-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
132+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
133133
with:
134134
persist-credentials: false
135135

@@ -155,19 +155,19 @@ jobs:
155155
timeout-minutes: 10
156156

157157
- name: Download demo build
158-
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
158+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
159159
with:
160160
name: demo-dist
161161
path: demo/dist/
162162

163163
- name: Download e2e test app build
164-
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
164+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
165165
with:
166166
name: e2e-test-app-dist
167167
path: test/e2e/app/dist/
168168

169169
- name: Download gallery build
170-
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
170+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
171171
with:
172172
name: gallery-dist
173173
path: gallery/dist/
@@ -195,7 +195,7 @@ jobs:
195195
pull-requests: write
196196
steps:
197197
- name: Check out files from GitHub
198-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
198+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
199199
with:
200200
persist-credentials: false
201201

@@ -209,7 +209,7 @@ jobs:
209209
run: yarn install --immutable
210210

211211
- name: Download blob report (local)
212-
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
212+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
213213
continue-on-error: true
214214
with:
215215
name: blob-report-local
@@ -231,7 +231,7 @@ jobs:
231231

232232
- name: Post report to PR
233233
if: github.event_name == 'pull_request' && needs.e2e-local.result == 'failure'
234-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
234+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
235235
with:
236236
script: |
237237
const { default: postReportComment } = await import(

0 commit comments

Comments
 (0)