Fix branch to push

This commit is contained in:
SebClem 2024-09-10 14:36:20 +02:00
parent 5fb9431dae
commit d25caa17bf
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50

View File

@ -173,16 +173,18 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
path: "addon" path: "addon"
- name: Get branch names
id: branch-names
uses: tj-actions/branch-names@v8
- name: Checkout Hass repo - name: Checkout Hass repo
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
repository: Sebclem/sebclem-hassio-addon-repository repository: Sebclem/sebclem-hassio-addon-repository
path: "repository" path: "repository"
token: ${{ secrets.PAT_PR }} token: ${{ secrets.PAT_PR }}
ref: ${{ steps.branch-names.outputs.current_branch }}
- name: Get branch names
id: branch-names
uses: tj-actions/branch-names@v8
- name: Generate readme - name: Generate readme
uses: cuchi/jinja2-action@v1.2.2 uses: cuchi/jinja2-action@v1.2.2