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
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Loading