From 4f24f0390cbc57b17333d7a02d107433b4dc01d4 Mon Sep 17 00:00:00 2001 From: Brandon Harvey <8107750+bharvey88@users.noreply.github.com> Date: Fri, 24 Jul 2026 11:02:40 -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 Pin the four ApolloAutomation/Workflows reusable workflow references (autoassign, build, esphome-ci in ci, 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 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/autoassign.yml b/.github/workflows/autoassign.yml index b6deff2..aa91e1e 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 637ab4b..2df022b 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 15d501b..e64b739 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,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-1.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