From 513353508583873dedc8181782a3cd1e54847ef9 Mon Sep 17 00:00:00 2001 From: Craft Agent Date: Tue, 28 Apr 2026 12:31:17 -0400 Subject: [PATCH 1/2] ci: restrict PRs targeting main to dev source branch Co-Authored-By: Craft Agent --- .github/workflows/restrict-main-prs.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/restrict-main-prs.yml diff --git a/.github/workflows/restrict-main-prs.yml b/.github/workflows/restrict-main-prs.yml new file mode 100644 index 000000000..126756138 --- /dev/null +++ b/.github/workflows/restrict-main-prs.yml @@ -0,0 +1,14 @@ +name: Restrict PRs to main +on: + pull_request: + branches: [main] +jobs: + check-source: + runs-on: ubuntu-latest + steps: + - name: Verify source is dev + run: | + if [ "${{ github.head_ref }}" != "dev" ]; then + echo "::error::PRs to main must come from 'dev'. Got: ${{ github.head_ref }}" + exit 1 + fi From d5483c9dd6512065caa03a39bd12b376523e91e5 Mon Sep 17 00:00:00 2001 From: Brandon Harvey <8107750+bharvey88@users.noreply.github.com> Date: Tue, 28 Apr 2026 11:45:42 -0500 Subject: [PATCH 2/2] chore: add slugify config to toc extension to clear uslugify deprecation --- mkdocs.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mkdocs.yml b/mkdocs.yml index ba1b69c83..617a0360d 100755 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -156,6 +156,9 @@ markdown_extensions: #brandon added this 3/26/25 - toc: permalink: true + slugify: !!python/object/apply:pymdownx.slugs.slugify + kwds: + case: lower copyright: | © 2026 Apollo Automation LLC