Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 15 additions & 17 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
commit-message:
prefix: "chore(ci): "
groups:
github-actions:
patterns:
- "*"
# Action version pins live in ApolloAutomation/Workflows (reusable workflows
# referenced @main), so this config normally has nothing to update. It stays
# as a safety net in case a version-pinned action is added here later.
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
commit-message:
prefix: "chore(ci): "
groups:
github-actions:
patterns:
- "*"
30 changes: 14 additions & 16 deletions .github/workflows/autoassign.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
name: Auto Assign
# pull_request_target (not pull_request) so assignment works on
# fork-submitted PRs; fork pull_request runs get a read-only token.
# Safe because this workflow never checks out or executes PR code.

on:
issues:
types: [opened]
pull_request_target:
pull_request:
types: [opened]

permissions:
issues: write
pull-requests: write

jobs:
run:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: 'Auto-assign issue'
uses: pozil/auto-assign-issue@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
assignees: TrevorSchirmer
numOfAssignee: 1
auto-assign:
# Skip auto-assign for pull requests from forks due to GITHUB_TOKEN permission restrictions
if: github.event_name == 'issues' || github.event.pull_request.head.repo.full_name == github.repository
uses: ApolloAutomation/Workflows/.github/workflows/autoassign.yml@main
with:
assignees: bharvey88
num-of-assignees: 1
37 changes: 12 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,20 @@ on:
pull_request:

permissions:
pull-requests: write
issues: write
contents: read
id-token: write

jobs:
ci:
name: Building ${{ matrix.file }} / ESPHome ${{ matrix.esphome-version }} / ESPHome ${{ matrix.esphome-version }}
runs-on: ubuntu-latest
strategy:
matrix:
file:
- Integrations/ESPHome/H-1.yaml
- Integrations/ESPHome/H-1D.yaml
esphome-version:
- stable
- beta
- dev
steps:
- name: Checkout source code
uses: actions/checkout@v5.0.0
- name: Build ESPHome firmware to verify configuration
uses: esphome/build-action@v7
with:
yaml-file: ${{ matrix.file }}





label-check:
name: Label Check
uses: ApolloAutomation/Workflows/.github/workflows/label-check.yml@main

ci:
name: CI
uses: ApolloAutomation/Workflows/.github/workflows/esphome-ci.yml@main
with:
yaml-files: |
Integrations/ESPHome/H-1.yaml
Integrations/ESPHome/H-1D.yaml

28 changes: 10 additions & 18 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,15 @@ on:
schedule:
- cron: '0 0 * * 1'

permissions:
contents: read

jobs:
build:
name: Building ${{ matrix.file }} / ESPHome ${{ matrix.esphome-version }}
runs-on: ubuntu-latest
strategy:
matrix:
file:
- Integrations/ESPHome/H-1.yaml
- Integrations/ESPHome/H-1D.yaml
esphome-version:
- stable
- beta
- dev
steps:
- name: Checkout source code
uses: actions/checkout@v5.0.0
- name: Build ESPHome firmware to verify configuration
uses: esphome/build-action@v7
with:
yaml-file: ${{ matrix.file }}
name: Weekly Build
uses: ApolloAutomation/Workflows/.github/workflows/esphome-ci.yml@main
with:
yaml-files: |
Integrations/ESPHome/H-1.yaml
Integrations/ESPHome/H-1D.yaml

2 changes: 1 addition & 1 deletion Integrations/ESPHome/Core.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
substitutions:
version: "25.12.4.1"
version: "26.8.23.1"

esp32:
board: esp32-c3-devkitm-1
Expand Down