From 07288551a002c501c2f618e83183077a70ab85a0 Mon Sep 17 00:00:00 2001 From: bigboateng Date: Sat, 18 Jul 2026 15:50:51 +0100 Subject: [PATCH] Brand generated syncs as Intelligence Flow Labs --- .github/workflows/ci.yml | 8 +++++++- .github/workflows/sync-upstream.yml | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c65fa2..4bd3204 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - name: Verify upstream sync source path + - name: Verify upstream sync contract shell: bash run: | workflow=".github/workflows/sync-upstream.yml" @@ -33,6 +33,12 @@ jobs: echo "Sync workflow still references retired path $retired." >&2 exit 1 fi + title='Sync Boatstack from Intelligence Flow Labs @ $short' + title_count="$(grep -cF "$title" "$workflow")" + if [[ "$title_count" != "2" ]]; then + echo "Expected commit and PR titles to use $title; found $title_count." >&2 + exit 1 + fi - name: Detect projected runtime id: runtime shell: bash diff --git a/.github/workflows/sync-upstream.yml b/.github/workflows/sync-upstream.yml index 4c420e9..0155431 100644 --- a/.github/workflows/sync-upstream.yml +++ b/.github/workflows/sync-upstream.yml @@ -124,11 +124,11 @@ jobs: git config user.name "${{ steps.app-token.outputs.app-slug }}[bot]" git config user.email "${{ steps.app-token.outputs.app-slug }}[bot]@users.noreply.github.com" git switch -c "$branch" - git commit -m "Sync Boatstack from Intelligence Flow $short" + git commit -m "Sync Boatstack from Intelligence Flow Labs @ $short" git push --set-upstream origin "$branch" pr_url="$(gh pr create \ --base main \ --head "$branch" \ - --title "Sync Boatstack from Intelligence Flow $short" \ + --title "Sync Boatstack from Intelligence Flow Labs @ $short" \ --body-file "$body_file")" echo "Opened generated PR: $pr_url"