-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
281 changed files
with
6,176 additions
and
3,772 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,6 @@ updates: | |
interval: weekly | ||
time: "06:00" | ||
open-pull-requests-limit: 10 | ||
labels: | ||
- Dependencies | ||
- GitHub Actions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Build: | ||
- build-scripts/** | ||
- .browserslistrc | ||
- gulpfile.js | ||
|
||
Cast: | ||
- cast/src/** | ||
- src/cast/** | ||
|
||
Demo: | ||
- demo/src/** | ||
- src/fake_data/** | ||
|
||
Design: | ||
- gallery/src/** | ||
- src/fake_data/** | ||
|
||
Dependencies: | ||
- package.json | ||
- renovate.json | ||
- yarn.lock | ||
- .yarn/** | ||
- .yarnrc.yml | ||
- .nvmrc | ||
|
||
GitHub Actions: | ||
- .github/workflows/** | ||
- .github/*.yml | ||
|
||
Supervisor: | ||
- hassio/src/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ jobs: | |
- name: Check out files from GitHub | ||
uses: actions/[email protected] | ||
- name: Setup Node | ||
uses: actions/setup-node@v3.6.0 | ||
uses: actions/setup-node@v3.7.0 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -36,6 +36,14 @@ jobs: | |
run: yarn dedupe --check | ||
- name: Build resources | ||
run: ./node_modules/.bin/gulp gen-icons-json build-translations build-locale-data gather-gallery-pages | ||
- name: Setup lint cache | ||
uses: actions/[email protected] | ||
with: | ||
path: | | ||
node_modules/.cache/prettier | ||
node_modules/.cache/eslint | ||
key: lint-${{ github.sha }} | ||
restore-keys: lint- | ||
- name: Run eslint | ||
run: yarn run lint:eslint --quiet | ||
- name: Run tsc | ||
|
@@ -49,7 +57,7 @@ jobs: | |
- name: Check out files from GitHub | ||
uses: actions/[email protected] | ||
- name: Setup Node | ||
uses: actions/setup-node@v3.6.0 | ||
uses: actions/setup-node@v3.7.0 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -67,7 +75,7 @@ jobs: | |
- name: Check out files from GitHub | ||
uses: actions/[email protected] | ||
- name: Setup Node | ||
uses: actions/setup-node@v3.6.0 | ||
uses: actions/setup-node@v3.7.0 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
@@ -85,7 +93,7 @@ jobs: | |
- name: Check out files from GitHub | ||
uses: actions/[email protected] | ||
- name: Setup Node | ||
uses: actions/setup-node@v3.6.0 | ||
uses: actions/setup-node@v3.7.0 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,44 +17,44 @@ jobs: | |
matrix: | ||
# Override automatic language detection by changing the below list | ||
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python'] | ||
language: ['javascript'] | ||
language: ["javascript"] | ||
# Learn more... | ||
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
# We must fetch at least the immediate parents so that if this is | ||
# a pull request then we can checkout the head. | ||
fetch-depth: 2 | ||
|
||
# If this run was triggered by a pull request event, then checkout | ||
# the head of the pull request instead of the merge commit. | ||
- run: git checkout HEAD^2 | ||
if: ${{ github.event_name == 'pull_request' }} | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
|
||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | ||
# If this step fails, then you should remove it and run the build manually (see below) | ||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v2 | ||
|
||
# ℹ️ Command-line programs to run using the OS shell. | ||
# 📚 https://git.io/JvXDl | ||
|
||
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines | ||
# and modify them (or add more) to build your code if your project | ||
# uses a compiled language | ||
|
||
#- run: | | ||
# make bootstrap | ||
# make release | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 | ||
- name: Checkout repository | ||
uses: actions/[email protected] | ||
with: | ||
# We must fetch at least the immediate parents so that if this is | ||
# a pull request then we can checkout the head. | ||
fetch-depth: 2 | ||
|
||
# If this run was triggered by a pull request event, then checkout | ||
# the head of the pull request instead of the merge commit. | ||
- run: git checkout HEAD^2 | ||
if: ${{ github.event_name == 'pull_request' }} | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
|
||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | ||
# If this step fails, then you should remove it and run the build manually (see below) | ||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v2 | ||
|
||
# ℹ️ Command-line programs to run using the OS shell. | ||
# 📚 https://git.io/JvXDl | ||
|
||
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines | ||
# and modify them (or add more) to build your code if your project | ||
# uses a compiled language | ||
|
||
#- run: | | ||
# make bootstrap | ||
# make release | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3.6.0 | ||
uses: actions/setup-node@v3.7.0 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
uses: actions/[email protected] | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3.6.0 | ||
uses: actions/setup-node@v3.7.0 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache: yarn | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: "Pull Request Labeler" | ||
|
||
on: pull_request_target | ||
|
||
jobs: | ||
triage: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Apply labels | ||
uses: actions/[email protected] | ||
with: | ||
sync-labels: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
build | ||
translations/* | ||
node_modules/* | ||
hass_frontend/* | ||
pip-selfcheck.json | ||
|
||
# vscode | ||
.vscode/* | ||
!.vscode/extensions.json | ||
CLA.md | ||
CODE_OF_CONDUCT.md | ||
LICENSE.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
self.addEventListener("fetch", function(event) { | ||
self.addEventListener("fetch", (event) => { | ||
event.respondWith(fetch(event.request)); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
self.addEventListener("fetch", function(event) { | ||
self.addEventListener("fetch", (event) => { | ||
event.respondWith(fetch(event.request)); | ||
}); |
Oops, something went wrong.