Skip to content

Commit

Permalink
Fix issues in github actions (#376)
Browse files Browse the repository at this point in the history
* Update permissions for labels and release-drafter

* Change meta title for homepage

* Small textual change on firmware customization

* Add conditional check for matrix in build job
  • Loading branch information
klaasnicolaas authored Jan 28, 2024
1 parent f252a28 commit 5020204
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-firmware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ jobs:
build:
name: ${{ matrix.firmware }} / ${{ matrix.device }}
if: ${{ needs.prepare.outputs.matrix != '' }}
runs-on: ubuntu-latest
needs: prepare
strategy:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
# The default branch
branches:
- dev
- main
paths:
- .github/labels.yml
workflow_dispatch:
Expand All @@ -14,6 +14,8 @@ jobs:
labels:
name: ♻️ Sync labels
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/[email protected]
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release-drafter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
update_release_draft:
name: ✏️ Draft release
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: read
steps:
- name: 🚀 Run Release Drafter
uses: release-drafter/[email protected]
Expand Down
4 changes: 1 addition & 3 deletions docs/docs/advanced/firmware_customization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ description: How to adopt and customize the firmware for your own needs.

Since the Home Assistant Glow's firmware is based on [ESPHome](https://esphome.io), making
customizations to the firmware is as easy as editing some YAML. The best way to modify the
firmware config is by installing the [ESPHome Dashboard](https://esphome.io/guides/getting_started_hassio.html)
(or using it [via cli](https://esphome.io/guides/getting_started_command_line.html)).
firmware config is by installing the [ESPHome Dashboard](https://esphome.io/guides/getting_started_hassio.html).

## Adopting the Device

Expand All @@ -18,7 +17,6 @@ it should prompt you to adopt it.
<img src={require('@site/static/img/customization/adopt-esphome.png').default} />
</p>


Go through the adoption flow; it will do these things:

1. Create an ESPHome configuration file
Expand Down
3 changes: 1 addition & 2 deletions docs/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ function HomepageHeader() {
}

export default function Home(): JSX.Element {
const {siteConfig} = useDocusaurusContext();
return (
<Layout
title={`${siteConfig.title}`}
title={`Home`}
description="The Home Assistant Glow makes a (not so) smart meter without a P1 port easily readable, using the pulse LED that is always present in most cases and it works with ESPHome!">
<HomepageHeader />
<main>
Expand Down

0 comments on commit 5020204

Please sign in to comment.