26 lines
670 B
YAML
26 lines
670 B
YAML
---
|
|
name: Repository Updater
|
|
|
|
# yamllint disable-line rule:truthy
|
|
on:
|
|
repository_dispatch:
|
|
types: ["update"]
|
|
|
|
jobs:
|
|
publish:
|
|
name: Publish add-on update
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: 🔂 Wait for other runs to complete
|
|
uses: softprops/turnstyle@v1
|
|
with:
|
|
continue-after-seconds: 1200
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: 🚀 Run Repository Updater
|
|
uses: hassio-addons/repository-updater@v1.2.2
|
|
with:
|
|
addon: ${{ github.event.client_payload.addon }}
|
|
repository: ${{ github.repository }}
|
|
token: ${{ secrets.UPDATER_TOKEN }}
|