Added Repo updater action
This commit is contained in:
@@ -0,0 +1,25 @@
|
|||||||
|
---
|
||||||
|
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 }}
|
||||||
Reference in New Issue
Block a user