From b27a328d1e8a575bfa674a0d05b8972941a03356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Wed, 25 Jan 2023 23:55:06 +0100 Subject: [PATCH] Add "content" to deploy-ha-addon-repo dispatch (#4349) --- .github/workflows/release.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 27843e28a6..3a1a13628f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -142,11 +142,10 @@ jobs: TOKEN: ${{ secrets.DEPLOY_HA_ADDON_REPO_TOKEN }} # yamllint disable rule:line-length run: | - TAG="${GITHUB_REF#refs/tags/}" curl \ -u ":$TOKEN" \ -X POST \ -H "Accept: application/vnd.github.v3+json" \ https://api.github.com/repos/esphome/home-assistant-addon/actions/workflows/bump-version.yml/dispatches \ - -d "{\"ref\":\"main\",\"inputs\":{\"version\":\"$TAG\"}}" + -d '{"ref":"main","inputs":{"version":"${{ github.event.release.tag_name }}","content":${{ toJSON(github.event.release.body) }}}}' # yamllint enable rule:line-length