Ready for automatic update
This commit is contained in:
@@ -7,19 +7,7 @@ on:
|
||||
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 }}
|
||||
workflows:
|
||||
uses: hassio-addons/workflows/.github/workflows/repository-updater.yaml@main
|
||||
secrets:
|
||||
UPDATER_TOKEN: ${{ secrets.UPDATER_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user