diff --git a/.github/workflows/repository-updater.yaml b/.github/workflows/repository-updater.yaml index 8fea8e4..aeaca43 100644 --- a/.github/workflows/repository-updater.yaml +++ b/.github/workflows/repository-updater.yaml @@ -7,18 +7,21 @@ on: types: ["update"] jobs: - # whatever: - # name: Running updater for ${{ github.event.client_payload.addon }} - # runs-on: ubuntu-latest - # steps: - # - name: 🚀 Run Repository Updater - # uses: hassio-addons/repository-updater@v1 - # with: - # addon: ${{ github.event.client_payload.addon }} - # repository: ${{ github.repository }} - # token: ${{ secrets.UPDATER_TOKEN }} - workflows: - uses: hassio-addons/workflows/.github/workflows/repository-updater.yaml@main - secrets: - UPDATER_TOKEN: ${{ secrets.UPDATER_TOKEN }} \ No newline at end of file + name: Running updater for ${{ github.event.client_payload.addon }} + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: 🚀 Run Repository Updater + uses: hassio-addons/repository-updater@v1 + with: + # addon: ${{ github.event.client_payload.addon }} + addon: laskakit-data-feeder + repository: ${{ github.repository }} + token: ${{ secrets.GITHUB_TOKEN }} + + # workflows: + # uses: hassio-addons/workflows/.github/workflows/repository-updater.yaml@main + # secrets: + # UPDATER_TOKEN: ${{ secrets.UPDATER_TOKEN }} \ No newline at end of file