From c8b2d59a84d273c28160c13ab2662d973a989c77 Mon Sep 17 00:00:00 2001 From: Brandon Harvey <8107750+bharvey88@users.noreply.github.com> Date: Fri, 24 Jul 2026 11:00:42 -0500 Subject: [PATCH] Pin shared reusable workflows to a commit SHA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pins the five ApolloAutomation/Workflows reusable workflow references (autoassign, build, esphome-ci in ci and weekly, label-check) from the mutable @main ref to the current reviewed commit SHA, matching how the repo already pins third-party actions. Two of these run on pull_request_target with write tokens, so a change to the Workflows repo silently changed what runs privileged here. Trade-off: future Workflows updates need a pin bump in this repo. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- .github/workflows/autoassign.yml | 2 +- .github/workflows/build.yml | 2 +- .github/workflows/ci.yml | 2 +- .github/workflows/label-check.yml | 2 +- .github/workflows/weekly.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/autoassign.yml b/.github/workflows/autoassign.yml index 03b36f5..cd5bba1 100644 --- a/.github/workflows/autoassign.yml +++ b/.github/workflows/autoassign.yml @@ -15,7 +15,7 @@ permissions: jobs: auto-assign: - uses: ApolloAutomation/Workflows/.github/workflows/autoassign.yml@main + uses: ApolloAutomation/Workflows/.github/workflows/autoassign.yml@430d90dc695c6f7d1075c4e4a0df4b13a6496252 # main 2026-07-23 with: assignees: bharvey88 num-of-assignees: 1 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e270fd2..bf691a4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,7 +16,7 @@ on: jobs: build-and-publish: - uses: ApolloAutomation/Workflows/.github/workflows/build.yml@main + uses: ApolloAutomation/Workflows/.github/workflows/build.yml@430d90dc695c6f7d1075c4e4a0df4b13a6496252 # main 2026-07-23 permissions: contents: write pages: write diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1faefd3..9030558 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ permissions: jobs: ci: name: CI - uses: ApolloAutomation/Workflows/.github/workflows/esphome-ci.yml@main + uses: ApolloAutomation/Workflows/.github/workflows/esphome-ci.yml@430d90dc695c6f7d1075c4e4a0df4b13a6496252 # main 2026-07-23 with: yaml-files: | Integrations/ESPHome/MSR-2_Factory.yaml diff --git a/.github/workflows/label-check.yml b/.github/workflows/label-check.yml index 96a9751..9315e38 100644 --- a/.github/workflows/label-check.yml +++ b/.github/workflows/label-check.yml @@ -17,4 +17,4 @@ permissions: jobs: label-check: name: Label Check - uses: ApolloAutomation/Workflows/.github/workflows/label-check.yml@main + uses: ApolloAutomation/Workflows/.github/workflows/label-check.yml@430d90dc695c6f7d1075c4e4a0df4b13a6496252 # main 2026-07-23 diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml index 1aaede6..ffadb5d 100644 --- a/.github/workflows/weekly.yml +++ b/.github/workflows/weekly.yml @@ -10,7 +10,7 @@ permissions: jobs: build: name: Weekly Build - uses: ApolloAutomation/Workflows/.github/workflows/esphome-ci.yml@main + uses: ApolloAutomation/Workflows/.github/workflows/esphome-ci.yml@430d90dc695c6f7d1075c4e4a0df4b13a6496252 # main 2026-07-23 with: yaml-files: | Integrations/ESPHome/MSR-2_Factory.yaml