Skip to content

Commit

Permalink
Merge branch 'main' into action_uv_install
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Oct 8, 2024
2 parents 108cb6b + 299433e commit ff8f861
Show file tree
Hide file tree
Showing 19 changed files with 478 additions and 400 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/action-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
permissions:
packages: write
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/checkout@v4.2.0

- name: Login to GitHub Container Registry
uses: docker/[email protected]
Expand All @@ -52,7 +52,7 @@ jobs:
type=sha
- name: Build and push
uses: docker/build-push-action@v6.7.0
uses: docker/build-push-action@v6.9.0
with:
context: .
file: action/Dockerfile
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/generate-hacs-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
category: ${{ fromJSON( needs.generate-matrix.outputs.categories )}}
steps:
- name: Checkout the repository
uses: actions/checkout@v4.1.7
uses: actions/checkout@v4.2.0

- name: Set up Python
uses: actions/[email protected]
Expand Down Expand Up @@ -157,10 +157,6 @@ jobs:
if (!changedPctTarget) {
if (!parsed.new_count || parsed.new_count <= 0) {
changedPctTarget = 0;
} else if (parsed.new_count > 1500) {
changedPctTarget = 3;
} else if (parsed.new_count > 1000) {
changedPctTarget = 4;
} else if (parsed.new_count > 750) {
changedPctTarget = 5;
} else if (parsed.new_count > 500) {
Expand Down Expand Up @@ -226,7 +222,7 @@ jobs:
category: ${{ fromJSON(needs.summarize.outputs.changedCategories) }}
steps:
- name: Checkout the repository
uses: actions/checkout@v4.1.7
uses: actions/checkout@v4.2.0

- name: Set up Python
uses: actions/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- ruff-format
steps:
- name: Checkout the repository
uses: actions/checkout@v4.1.7
uses: actions/checkout@v4.2.0

- name: Set up Python
uses: actions/[email protected]
Expand All @@ -56,7 +56,7 @@ jobs:
name: With JQ
steps:
- name: Checkout the repository
uses: actions/checkout@v4.1.7
uses: actions/checkout@v4.2.0

- name: Run validation
run: jq -r -e -c . tests/fixtures/*.json
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
contents: write
steps:
- name: 📥 Checkout the repository
uses: actions/checkout@v4.1.7
uses: actions/checkout@v4.2.0

- name: 🛠️ Set up Python
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_requests_labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.7
uses: actions/checkout@v4.2.0

- name: Check the labels
uses: ludeeus/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout the repository
uses: actions/checkout@v4.1.7
uses: actions/checkout@v4.2.0

- name: 🛠️ Set up Python 3.12
uses: actions/[email protected]
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
- "3.12"
steps:
- name: 📥 Checkout the repository
uses: actions/checkout@v4.1.7
uses: actions/checkout@v4.2.0

- name: 🛠️ Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
name: With hassfest
steps:
- name: Checkout the repository
uses: actions/checkout@v4.1.7
uses: actions/checkout@v4.2.0

# Test files conflict with running hassfest
- name: Remove tests
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
category: "plugin"
steps:
- name: Checkout the repository
uses: actions/checkout@v4.1.7
uses: actions/checkout@v4.2.0

- name: Build Container
run: |
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
category: "plugin"
steps:
- name: Checkout the repository
uses: actions/checkout@v4.1.7
uses: actions/checkout@v4.2.0

- name: Set up Python
uses: actions/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion custom_components/hacs/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}
},
"progress": {
"wait_for_device": "1. Open {url} \n2. Paste the following key to authorize HACS: \n```\n{code}\n```\n"
"wait_for_device": "1. Open {url} \n2. Paste the following key to authorize HACS: \n```\n{code}\n```"
}
},
"options": {
Expand Down
2 changes: 1 addition & 1 deletion requirements_base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ aiohttp_cors==0.7.0
async-timeout>=4.0.2
asynctest==0.13.0
colorlog==6.8.2
setuptools==74.1.2
setuptools==75.1.0
2 changes: 1 addition & 1 deletion requirements_generate_data.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
--requirement requirements_base.txt
awscli==1.34.16
awscli==1.34.29
homeassistant==2024.3.3
4 changes: 2 additions & 2 deletions requirements_lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ isort==5.13.2
pre-commit==3.8.0
pre-commit-hooks==4.6.0
pyupgrade==3.17.0
ruff==0.6.4
vulture==2.11
ruff==0.6.8
vulture==2.13
2 changes: 1 addition & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pytest-asyncio==0.24.0
pytest-cov==5.0.0
pytest-snapshot==0.9.0
pytest-socket==0.7.0
RestrictedPython==7.2
RestrictedPython==7.3
Loading

0 comments on commit ff8f861

Please sign in to comment.