Repository navigation
Claude/claude md mkvmorzw300didvm he7n s #53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| name: BlackRoad Upstream Sync | ||
| on: | ||
| schedule: | ||
| - cron: '0 */6 * * *' | ||
| workflow_dispatch: | ||
| jobs: | ||
| sync: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
| - run: | | ||
| git config user.name "BlackRoad Sync Bot" | ||
| git config user.email "sync@blackroad.io" | ||
| - name: Sync from upstream | ||
| run: | | ||
| UPSTREAM=$(gh api repos/${{ github.repository }} --jq '.parent.full_name // empty') | ||
| [ -z "$UPSTREAM" ] && exit 0 | ||
| git remote add upstream https://github.com/$UPSTREAM.git || true | ||
| git fetch upstream | ||
| BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@' || echo "main") | ||
| CHANGES=$(git rev-list --count HEAD..upstream/$BRANCH 2>/dev/null || echo "0") | ||
| [ "$CHANGES" = "0" ] && echo "✅ Up to date" && exit 0 | ||
| if git merge upstream/$BRANCH -m "🔄 Auto-sync from upstream ($CHANGES commits)"; then | ||
| git push origin $BRANCH | ||
| echo "✅ Synced $CHANGES commits" | ||
| else | ||
| git merge --abort | ||
| B="sync-$(date +%Y%m%d-%H%M)" | ||
| git checkout -b $B && git reset --hard upstream/$BRANCH && git push -u origin $B | ||
| gh pr create --title "🔄 Upstream sync needs merge" --body "Automated sync has conflicts. Please merge manually." --head $B --base $BRANCH | ||
| fi | ||
| env: | ||
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,52 @@ | ||||||
| name: Deploy to Cloudflare Pages | ||||||
|
|
||||||
| on: | ||||||
| push: | ||||||
| branches: [main, master] | ||||||
| pull_request: | ||||||
|
|
||||||
|
Comment on lines
+1
to
+7
|
||||||
| jobs: | ||||||
| deploy: | ||||||
| runs-on: ubuntu-latest | ||||||
| steps: | ||||||
| - uses: actions/checkout@v3 | ||||||
|
||||||
| - uses: actions/checkout@v3 | |
| - uses: actions/checkout@v4 |
Copilot
AI
Jan 26, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "Brand Compliance Check" will fail on the current repo: the forbidden color list includes "#0066FF", which already exists in the tree (e.g., extras/source/misc_config/wizard/form/styles/bgr.css and ice.css). As written, this will break CI for every run. Either remove this check or scope it to the relevant website/app directories where the BlackRoad palette applies, and/or adjust the forbidden list.
Copilot
AI
Jan 26, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actions/setup-node@v3 is deprecated/outdated compared to the current major (v4). Please update to actions/setup-node@v4 for the maintained release line and consistency with other updated actions.
| uses: actions/setup-node@v3 | |
| uses: actions/setup-node@v4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This repo’s existing .github/workflows/lockdown.yml indicates GitHub is intended to be a read-only mirror. This workflow requests write permissions (contents/pull-requests) and pushes/creates PRs on a schedule, which conflicts with that policy and could cause unexpected changes on the mirror. Please remove this workflow or disable write operations for this repository.