-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into swissweather
- Loading branch information
Showing
10 changed files
with
53 additions
and
54 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 |
---|---|---|
|
@@ -34,7 +34,7 @@ jobs: | |
removal: ${{ steps.removal.outputs.removal }} | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].7 | ||
|
||
- name: Clone origin | ||
run: git clone --depth 1 https://github.com/hacs/default /tmp/repositories/default | ||
|
@@ -55,18 +55,6 @@ jobs: | |
id: category | ||
run: echo "category=$(python3 -m scripts.changed.category)" >> $GITHUB_OUTPUT | ||
|
||
- name: Clone new addition | ||
if: steps.removal.outputs.removal != 'true' | ||
run: | | ||
repo=$(python3 -m scripts.changed.repo) | ||
git clone --depth 1 "https://github.com/$repo" /tmp/repositories/addition | ||
- name: Upload shared artifacts | ||
if: steps.removal.outputs.removal != 'true' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: repositories | ||
path: /tmp/repositories | ||
|
||
owner: | ||
runs-on: ubuntu-latest | ||
|
@@ -75,13 +63,7 @@ jobs: | |
if: needs.preflight.outputs.removal != 'true' | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected] | ||
|
||
- name: Download shared artifacts | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: repositories | ||
path: /tmp/repositories | ||
uses: actions/[email protected] | ||
|
||
- name: Install dependencies if needed | ||
run: scripts/setup | ||
|
@@ -90,13 +72,14 @@ jobs: | |
run: python3 -m scripts.check.owner | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
REPOSITORY: ${{needs.preflight.outputs.repository}} | ||
|
||
edits: | ||
runs-on: ubuntu-latest | ||
name: Check if PR is editable | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].7 | ||
|
||
- name: Install dependencies if needed | ||
run: scripts/setup | ||
|
@@ -112,13 +95,12 @@ jobs: | |
if: needs.preflight.outputs.category == 'integration' | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].7 | ||
|
||
- name: Download shared artifacts | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: repositories | ||
path: /tmp/repositories | ||
- name: Clone new addition | ||
if: steps.removal.outputs.removal != 'true' | ||
run: | | ||
git clone --depth 1 "https://github.com/${{needs.preflight.outputs.repository}}" /tmp/repositories/addition | ||
- name: Get hassfest action | ||
run: | | ||
|
@@ -149,4 +131,4 @@ jobs: | |
uses: "hacs/action@main" | ||
with: | ||
repository: ${{needs.preflight.outputs.repository}} | ||
category: ${{needs.preflight.outputs.category}} | ||
category: ${{needs.preflight.outputs.category}} |
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,7 +17,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].7 | ||
|
||
- name: Validate | ||
run: jq --raw-output . appdaemon blacklist critical integration netdaemon plugin python_script removed template theme | ||
|
@@ -27,7 +27,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].7 | ||
|
||
- name: Critical | ||
uses: cardinalby/[email protected] | ||
|
@@ -52,7 +52,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].7 | ||
|
||
- name: Check lists | ||
run: python3 scripts/is_sorted.py |
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 |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
name: Upload | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].7 | ||
|
||
- name: Validate with JSON schema | ||
uses: cardinalby/[email protected] | ||
|
@@ -27,15 +27,15 @@ jobs: | |
schema: 'tools/jsonschema/critical.schema.json' | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5.0.0 | ||
uses: actions/setup-python@v5.1.1 | ||
id: python | ||
with: | ||
python-version: "3.x" | ||
|
||
- name: Install AWS CLI | ||
run: | | ||
pip3 install \ | ||
--disable-pip-version-check install \ | ||
--disable-pip-version-check \ | ||
--ignore-installed \ | ||
awscli | ||
|
@@ -46,7 +46,7 @@ jobs: | |
jq -c '[.[].repository]' < critical > upload/critical/repositories.json | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: critical | ||
path: upload/critical | ||
|
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 |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
name: Upload | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].7 | ||
|
||
- name: Validate with JSON schema | ||
uses: cardinalby/[email protected] | ||
|
@@ -27,15 +27,15 @@ jobs: | |
schema: 'tools/jsonschema/removed.schema.json' | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5.0.0 | ||
uses: actions/setup-python@v5.1.1 | ||
id: python | ||
with: | ||
python-version: "3.x" | ||
|
||
- name: Install AWS CLI | ||
run: | | ||
pip3 install \ | ||
--disable-pip-version-check install \ | ||
--disable-pip-version-check \ | ||
--ignore-installed \ | ||
awscli | ||
|
@@ -46,7 +46,7 @@ jobs: | |
jq -c '[.[].repository]' < removed > upload/removed/repositories.json | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: removed | ||
path: upload/removed | ||
|
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
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
Oops, something went wrong.