From d25caa17bfa1a9e32eadbac425d0cf57225ae73b Mon Sep 17 00:00:00 2001 From: SebClem Date: Tue, 10 Sep 2024 14:36:20 +0200 Subject: [PATCH] Fix branch to push --- .github/workflows/build_addon.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_addon.yml b/.github/workflows/build_addon.yml index 1f47684..924dfe2 100644 --- a/.github/workflows/build_addon.yml +++ b/.github/workflows/build_addon.yml @@ -173,16 +173,18 @@ jobs: uses: actions/checkout@v4 with: path: "addon" + + - name: Get branch names + id: branch-names + uses: tj-actions/branch-names@v8 + - name: Checkout Hass repo uses: actions/checkout@v4 with: repository: Sebclem/sebclem-hassio-addon-repository path: "repository" token: ${{ secrets.PAT_PR }} - - - name: Get branch names - id: branch-names - uses: tj-actions/branch-names@v8 + ref: ${{ steps.branch-names.outputs.current_branch }} - name: Generate readme uses: cuchi/jinja2-action@v1.2.2