Skip to content

Commit

Permalink
fix: release (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lash-L authored Jul 23, 2024
1 parent db12c4b commit 95b34a9
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 22 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/auto-merge.yaml

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@ jobs:
- name: Download repo
uses: actions/checkout@v4

- name: Zip southern_company_hacs dir
- name: Zip southern_company dir
run: |
cd /home/runner/work/southern-company-hacs/southern-company-hacs/custom_components/southern_company_hacs
zip southern_company_hacs.zip -r ./
cd /home/runner/work/southern-company-hacs/southern-company/custom_components/southern_company
zip southern_company.zip -r ./
- name: Upload zip to release
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: /home/runner/work/southern-company-hacs/southern-company-hacs/custom_components/southern_company_hacs/southern_company_hacs.zip
asset_name: southern_company_hacs.zip
file: /home/runner/work/southern-company-hacs/southern-company/custom_components/southern_company/southern_company.zip
asset_name: southern_company.zip
tag: ${{ github.ref }}
overwrite: true
16 changes: 16 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,19 @@ jobs:

- name: Hassfest validation
uses: "home-assistant/actions/hassfest@master"

dependabot:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
needs:
- pre-commit
- hacs
- hassfest
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 95b34a9

Please sign in to comment.