Skip to content

Commit

Permalink
update new-device.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bmos committed Dec 15, 2023
1 parent 82d8fda commit 96a1d82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/new-device.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ jobs:
if not duplicate_found:
devices.append(new_device)
print(f"manufacturer={device["manufacturer"]}" >> $GITHUB_OUTPUT)
print(f"model={device["model"]}" >> $GITHUB_OUTPUT)
print(f"manufacturer={device["manufacturer"]}" >> $GITHUB_OUTPUT")
print(f"model={device["model"]}" >> $GITHUB_OUTPUT")
with open("custom_components/battery_notes/data/library.json", "w") as f:
f.write(json.dumps(devices_json, indent=2))
Expand All @@ -67,5 +67,5 @@ jobs:
with:
commit-message: "Update device: ${{ steps.update-json.outputs.manufacturer }} - ${{ steps.update-json.outputs.json.model }}"
title: "DEVICE: ${{ steps.update-json.outputs.json.manufacturer }} - ${{ steps.update-json.outputs.json.model }}"
body: "This pull request adds or updates the device information for ${{ steps.update-json.outputs.json.manufacturer }} - ${{ steps.update-json.outputs.json.model }}"
body: "This pull request adds or updates the device information for ${{ steps.update-json.outputs.json.manufacturer }} - ${{ steps.update-json.outputs.json.model }}\nIt closes issue #${{ github.event.issue.number }}"
branch: update-device-${{ steps.update-json.outputs.json.manufacturer }}-${{ steps.update-json.outputs.json.model }}"

0 comments on commit 96a1d82

Please sign in to comment.