mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 05:43:14 +00:00
ci: add upstream-ledger-sync daily action (#164)
Some checks are pending
CI / Lint (push) Waiting to run
CI / Format check (push) Waiting to run
CI / Typecheck (push) Waiting to run
CI / Unit tests (push) Waiting to run
CI / Playwright E2E (push) Waiting to run
CI / Docker build smoke (push) Waiting to run
CI / Triage ledger up to date (push) Waiting to run
CI / ui bun.lock in sync (push) Waiting to run
Some checks are pending
CI / Lint (push) Waiting to run
CI / Format check (push) Waiting to run
CI / Typecheck (push) Waiting to run
CI / Unit tests (push) Waiting to run
CI / Playwright E2E (push) Waiting to run
CI / Docker build smoke (push) Waiting to run
CI / Triage ledger up to date (push) Waiting to run
CI / ui bun.lock in sync (push) Waiting to run
Add upstream-ledger-sync action to run daily to pull upstream commits, update triage.jsonl, and open a PR against dev so the list can be automatically updated to stay in line with upstream.
This commit is contained in:
parent
6ef762b3e5
commit
2072da9169
1 changed files with 48 additions and 0 deletions
48
.github/workflows/upstream-ledger-sync.yml
vendored
Normal file
48
.github/workflows/upstream-ledger-sync.yml
vendored
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
name: Upstream Ledger Sync
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "17 12 * * *" # daily ~08:17 ET
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: upstream-ledger-sync
|
||||
cancel-in-progress: false
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
ref: dev
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Add upstream remote
|
||||
run: |
|
||||
git remote add upstream https://github.com/langchain-ai/open-swe.git || true
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.12"
|
||||
|
||||
- name: Sync ledger
|
||||
run: python3 scripts/triage.py sync
|
||||
|
||||
- name: Open/refresh PR if the ledger changed
|
||||
uses: peter-evans/create-pull-request@v7
|
||||
with:
|
||||
base: dev
|
||||
branch: bot/upstream-ledger-sync
|
||||
commit-message: "chore: sync upstream triage ledger"
|
||||
title: "chore: sync upstream triage ledger"
|
||||
body: |
|
||||
Automated 'scripts/triage.py sync'. New rows land as **Untriaged** - triage each (adopt/defer/won't-merge) before merging.
|
||||
labels: upstream-sync
|
||||
add-paths: |
|
||||
docs/upstream-sync/triage.jsonl
|
||||
docs/upstream-sync/triage.md
|
||||
Loading…
Add table
Reference in a new issue