-
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 GuyKh-patch-1
- Loading branch information
Showing
14 changed files
with
454 additions
and
89 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
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 |
---|---|---|
|
@@ -33,10 +33,10 @@ jobs: | |
removal: ${{ steps.removal.outputs.removal }} | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5.2.0 | ||
uses: actions/setup-python@v5.3.0 | ||
with: | ||
python-version-file: ".python-version" | ||
|
||
|
@@ -65,10 +65,10 @@ jobs: | |
if: needs.preflight.outputs.removal != 'true' | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5.2.0 | ||
uses: actions/setup-python@v5.3.0 | ||
with: | ||
python-version-file: ".python-version" | ||
cache: "pip" | ||
|
@@ -88,10 +88,10 @@ jobs: | |
name: Editable PR | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5.2.0 | ||
uses: actions/setup-python@v5.3.0 | ||
with: | ||
python-version-file: ".python-version" | ||
cache: "pip" | ||
|
@@ -104,14 +104,38 @@ jobs: | |
- name: Run the check | ||
run: python3 -m scripts.check.edits | ||
|
||
removed: | ||
runs-on: ubuntu-latest | ||
name: Removed repository | ||
needs: preflight | ||
if: needs.preflight.outputs.removal != 'true' | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected] | ||
|
||
- name: Set up Python | ||
uses: actions/[email protected] | ||
with: | ||
python-version-file: ".python-version" | ||
cache: "pip" | ||
cache-dependency-path: "requirements.txt" | ||
|
||
- name: Install dependencies if needed | ||
run: scripts/setup | ||
|
||
- name: Run the check | ||
run: python3 -m scripts.check.removed | ||
env: | ||
REPOSITORY: ${{needs.preflight.outputs.repository}} | ||
|
||
hassfest: | ||
runs-on: ubuntu-latest | ||
name: Hassfest | ||
needs: preflight | ||
if: needs.preflight.outputs.category == 'integration' && needs.preflight.outputs.removal != 'true' | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
|
||
- name: Clone new addition | ||
run: | | ||
|
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].2 | ||
|
||
- 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].2 | ||
|
||
- name: Critical | ||
uses: cardinalby/[email protected] | ||
|
@@ -52,10 +52,10 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5.2.0 | ||
uses: actions/setup-python@v5.3.0 | ||
with: | ||
python-version-file: ".python-version" | ||
|
||
|
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].2 | ||
|
||
- name: Validate with JSON schema | ||
uses: cardinalby/[email protected] | ||
|
@@ -27,7 +27,7 @@ jobs: | |
schema: 'tools/jsonschema/critical.schema.json' | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5.2.0 | ||
uses: actions/setup-python@v5.3.0 | ||
id: python | ||
with: | ||
python-version: "3.x" | ||
|
@@ -37,7 +37,7 @@ jobs: | |
pip3 install \ | ||
--disable-pip-version-check \ | ||
--ignore-installed \ | ||
awscli | ||
awscli==1.36.39 | ||
- name: Handle the critical file | ||
run: | | ||
|
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].2 | ||
|
||
- name: Validate with JSON schema | ||
uses: cardinalby/[email protected] | ||
|
@@ -27,7 +27,7 @@ jobs: | |
schema: 'tools/jsonschema/removed.schema.json' | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5.2.0 | ||
uses: actions/setup-python@v5.3.0 | ||
id: python | ||
with: | ||
python-version: "3.x" | ||
|
@@ -37,7 +37,7 @@ jobs: | |
pip3 install \ | ||
--disable-pip-version-check \ | ||
--ignore-installed \ | ||
awscli | ||
awscli==1.36.39 | ||
- name: Handle the removed file | ||
run: | | ||
|
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.