Skip to content

Commit

Permalink
test new CI
Browse files Browse the repository at this point in the history
  • Loading branch information
litinoveweedle committed Dec 28, 2024
1 parent c5c1ab5 commit 95f885f
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: CI

# yamllint disable-line rule:truthy
on:
push:
pull_request:
types:
- opened
- reopened
- synchronize
workflow_dispatch:

jobs:
workflows:
uses: hassio-addons/workflows/.github/workflows/addon-ci.yaml@main
19 changes: 19 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Deploy

# yamllint disable-line rule:truthy
on:
release:
types:
- published
workflow_run:
workflows: ["CI"]
branches: [main]
types:
- completed

jobs:
workflows:
uses: hassio-addons/workflows/.github/workflows/addon-deploy.yaml@main
secrets:
DISPATCH_TOKEN: ${{ secrets.DISPATCH_TOKEN }}
12 changes: 12 additions & 0 deletions .github/workflows/release-drafter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: Release Drafter

# yamllint disable-line rule:truthy
on:
push:
branches:
- main

jobs:
workflows:
uses: hassio-addons/workflows/.github/workflows/release-drafter.yaml@main

0 comments on commit 95f885f

Please sign in to comment.