Skip to content

Commit

Permalink
Merge pull request #1 from BottlecapDave/develop
Browse files Browse the repository at this point in the history
Added hacs and updated ci workflow
  • Loading branch information
BottlecapDave authored Aug 28, 2022
2 parents 69d878e + e5d89e4 commit 1c5276a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/release.yml → .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,26 @@
name: Release
name: Main
on:
schedule:
- cron: '0 1 * * *'
push:
branches:
- develop
- main
pull_request:
jobs:
validate:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v2"
- uses: "home-assistant/actions/hassfest@master"
- name: HACS Action
uses: "hacs/action@main"
with:
category: "integration"
release:
name: Release
if: github.ref == 'refs/heads/main'
needs: validate
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -24,5 +39,7 @@ jobs:
uses: devmasx/merge-branch@master
with:
type: now
message: "chore: Merged main into develop"
from_branch: main
target_branch: develop
github_token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 4 additions & 0 deletions hacs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "First Bus",
"render_readme": true
}

0 comments on commit 1c5276a

Please sign in to comment.