👷 Update CI

- Switch to centralized GitHub Action Workflows provided by Hassio Community Addons, while utilizing customized ones where needed.
- Clean Up of Unused workflow files.
This commit is contained in:
Gautham Varma K
2021-11-02 19:18:51 +05:30
parent 726660d912
commit 855210ce59
9 changed files with 28 additions and 262 deletions
+7 -15
View File
@@ -3,20 +3,12 @@ name: Sync labels
# yamllint disable-line rule:truthy
on:
push:
branches:
- main
paths:
- .github/labels.yml
schedule:
- cron: "34 5 * * *"
workflow_dispatch:
jobs:
labels:
name: ♻️ Sync labels
runs-on: ubuntu-latest
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v2.3.5
- name: 🚀 Run Label Syncer
uses: micnncim/action-label-syncer@v1.3.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
workflows:
uses: hassio-addons/workflows/.github/workflows/labels.yaml@main
secrets:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}