From 96a1d823a05c6fb0caa8a7f84712ec8a8fc66dc5 Mon Sep 17 00:00:00 2001 From: Wil Thieme Date: Fri, 15 Dec 2023 15:17:08 -0500 Subject: [PATCH] update new-device.yml --- .github/workflows/new-device.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/new-device.yml b/.github/workflows/new-device.yml index 696b9fbef..d18b4d307 100644 --- a/.github/workflows/new-device.yml +++ b/.github/workflows/new-device.yml @@ -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)) @@ -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 }}"