-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
11 changed files
with
355 additions
and
63 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,26 +34,26 @@ jobs: | |
removal: ${{ steps.removal.outputs.removal }} | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
|
||
- name: Clone origin | ||
run: git clone --depth 1 https://github.com/hacs/default /tmp/repositories/default | ||
|
||
- name: Set repository | ||
id: repository | ||
run: echo "::set-output name=repository::$(python3 -m scripts.changed.repo)" | ||
run: echo "repository=$(python3 -m scripts.changed.repo)" >> $GITHUB_OUTPUT | ||
|
||
- name: Check removal | ||
id: removal | ||
run: | | ||
if [ "${{ steps.repository.outputs.repository }}" == "Bad data []" ]; then | ||
echo "::set-output name=removal::true" | ||
echo "removal=true" >> $GITHUB_OUTPUT | ||
fi | ||
- name: Set category | ||
if: steps.removal.outputs.removal != 'true' | ||
id: category | ||
run: echo "::set-output name=category::$(python3 -m scripts.changed.category)" | ||
run: echo "category=$(python3 -m scripts.changed.category)" >> $GITHUB_OUTPUT | ||
|
||
- name: Clone new addition | ||
if: steps.removal.outputs.removal != 'true' | ||
|
@@ -75,7 +75,7 @@ jobs: | |
if: needs.preflight.outputs.removal != 'true' | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
|
||
- name: Download shared artifacts | ||
uses: actions/download-artifact@master | ||
|
@@ -96,7 +96,7 @@ jobs: | |
name: Check if PR is editable | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
|
||
- name: Install dependencies if needed | ||
run: scripts/setup | ||
|
@@ -112,7 +112,7 @@ jobs: | |
if: needs.preflight.outputs.category == 'integration' | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
|
||
- name: Download shared artifacts | ||
uses: actions/[email protected] | ||
|
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 |
---|---|---|
|
@@ -39,7 +39,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
|
||
- name: Validate | ||
run: jq --raw-output . appdaemon blacklist critical integration netdaemon plugin python_script removed template theme | ||
|
@@ -49,7 +49,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
|
||
- 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,10 +18,10 @@ jobs: | |
name: Upload | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4.6.0 | ||
uses: actions/setup-python@v4.7.0 | ||
id: python | ||
with: | ||
python-version: "3.x" | ||
|
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,10 +18,10 @@ jobs: | |
name: Upload | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/[email protected].2 | ||
uses: actions/[email protected].3 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4.6.0 | ||
uses: actions/setup-python@v4.7.0 | ||
id: python | ||
with: | ||
python-version: "3.x" | ||
|
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.