mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 19:43:15 +00:00
* ci: promote dev to prod via fast-forward instead of force-pushing main Repoints the daily promotion workflow to feed prod from the dev integration trunk (prod <- dev) rather than force-pushing the upstream mirror (main). Uses a fast-forward push so a release can never rewrite prod history. * fix: sort imports in aegra_entry.py to unblock dev CI The Sea Haven deployment commit left aegra_entry.py with an unsorted import block (ruff I001), which fails the required 'Agent lint' check and blocks all merges into dev. Apply the import-sort autofix.
25 lines
440 B
YAML
25 lines
440 B
YAML
name: Promote dev to prod
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 8 * * *"
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: promote-dev-to-prod
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
promote:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
ref: dev
|
|
fetch-depth: 0
|
|
- name: Fast-forward prod to dev
|
|
run: |
|
|
git push origin HEAD:refs/heads/prod
|