chore: sync 80 BlackRoad OS workflows#29
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6a7f8f0ec7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| runs-on: [self-hosted, blackroad-fleet, octavia] | ||
| steps: | ||
| - name: 🤗 Pull from HuggingFace | ||
| env: |
There was a problem hiding this comment.
Fix invalid step indentation in HuggingFace workflow
The env/run keys are indented too shallow relative to the - name list item, which makes this file invalid YAML (did not find expected '-' indicator). Because GitHub cannot parse the workflow file, HuggingFace Model Sync will never register or run for workflow_dispatch.
Useful? React with 👍 / 👎.
| -H "Content-Type: application/json" \ | ||
| -d '{"query": "{ projects(first: 10) { edges { node { id name } } } }"}' | \ | ||
| python3 -c " | ||
| import json, sys |
There was a problem hiding this comment.
Indent inline Python under the Railway run block
The Python lines starting here are at column 1 instead of being indented under run: |, so the workflow file is syntactically invalid YAML (could not find expected ':'). In this state GitHub Actions cannot load railway-deploy.yml, so the deploy job will not execute on push or manual dispatch.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Pull request overview
This PR syncs 80 GitHub Actions workflow files from the BlackRoad OS master repository to maintain organizational cohesion. All workflows are configured to use self-hosted Pi runners for zero billable cost. However, the PR contains widespread critical YAML syntax errors that will prevent the workflows from functioning.
Changes:
- Adds 80 new workflow files covering deployment, monitoring, CI/CD, autonomous agents, and infrastructure management
- Migrates several existing workflows from
ubuntu-latestto self-hosted runners - Implements continuous 24-hour self-chaining engine for automated operations
Reviewed changes
Copilot reviewed 80 out of 80 changed files in this pull request and generated 60 comments.
Show a summary per file
| File | Description |
|---|---|
| Multiple workflow files | New deployment workflows for Cloudflare, Railway, and Salesforce |
| Multiple workflow files | New Pi infrastructure management workflows |
| Multiple workflow files | New autonomous agent and AI-assisted workflows |
| Multiple workflow files | New backup, sync, and monitoring workflows |
| project-sync.yml | Changed runner from ubuntu-latest to self-hosted |
| failure-issue.yml | Changed runner from ubuntu-latest to self-hosted |
| auto-label.yml | Changed runner from ubuntu-latest to self-hosted |
| core-ci.yml | Changed runner from ubuntu-latest to self-hosted |
| agent-ci.yml | Changed runner from ubuntu-latest to self-hosted |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - uses: actions/checkout@v4 | ||
|
|
||
| with: | ||
| submodules: false |
There was a problem hiding this comment.
Duplicate with: block detected. Line 22 has - uses: actions/checkout@v4 followed by a blank line 23, then another with: block starting at line 24. This will cause a YAML syntax error. The with: keyword should appear only once, immediately after the uses: statement without blank lines in between.
| MODEL="${{ github.event.inputs.model }}" | ||
| echo "Pulling $MODEL from HuggingFace..." | ||
|
|
||
| # Use huggingface-cli if available | ||
| if which huggingface-cli 2>/dev/null; then | ||
| huggingface-cli download "$MODEL" --local-dir ~/models/$(basename $MODEL) | ||
| else | ||
| MODEL=$MODEL HF_TOKEN="${HF_TOKEN:-}" python3 -c \ | ||
| "import os,sys; from huggingface_hub import snapshot_download; m=os.environ['MODEL']; t=os.environ.get('HF_TOKEN'); p=snapshot_download(m,token=t,local_dir=os.path.expanduser(f'~/models/{os.path.basename(m)}')); print(f'Downloaded to: {p}')" | ||
| fi |
There was a problem hiding this comment.
The run: block and subsequent lines have inconsistent indentation with leading spaces throughout (lines 24-33). This entire section needs to have consistent indentation to be valid YAML.
| - uses: actions/checkout@v4 | ||
| with: | ||
| submodules: false | ||
| with: | ||
| fetch-depth: 0 | ||
| token: ${{ secrets.GITHUB_TOKEN }} |
There was a problem hiding this comment.
Duplicate with: blocks detected. Line 12 has - uses: actions/checkout@v4 with a with: block at lines 13-14, then another with: block appears at lines 15-17. This is invalid YAML syntax and will cause the workflow to fail.
| - uses: actions/checkout@v4 | ||
|
|
||
| with: | ||
| submodules: false |
There was a problem hiding this comment.
Duplicate with: block detected causing invalid YAML syntax.
| - uses: actions/checkout@v4 | ||
|
|
||
| with: | ||
| submodules: false |
There was a problem hiding this comment.
Duplicate with: block detected causing invalid YAML syntax.
| - uses: actions/checkout@v4 | ||
|
|
||
| with: | ||
| submodules: false |
There was a problem hiding this comment.
Duplicate with: block detected causing invalid YAML syntax.
| - uses: actions/checkout@v4 | ||
|
|
||
| with: | ||
| submodules: false |
There was a problem hiding this comment.
Duplicate with: block detected causing invalid YAML syntax.
| - uses: actions/checkout@v4 | ||
| with: | ||
| submodules: false | ||
| with: |
There was a problem hiding this comment.
Duplicate with: blocks detected causing invalid YAML syntax.
| with: |
| - uses: actions/checkout@v4 | ||
|
|
||
| with: | ||
| submodules: false |
There was a problem hiding this comment.
Duplicate with: block detected causing invalid YAML syntax.
| - uses: actions/checkout@v4 | ||
|
|
||
| with: | ||
| submodules: false |
There was a problem hiding this comment.
Duplicate with: block detected causing invalid YAML syntax.
Syncing all 80 workflows from BlackRoad-OS-Inc/blackroad master to keep all orgs cohesive. All workflows use self-hosted Pi runners ($0 billable). Continuous engine included for 24h self-chaining.