mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 04:33:12 +00:00
ci: add org PR policy caller (#251)
Some checks failed
CI / Lint (push) Has been cancelled
CI / Format check (push) Has been cancelled
CI / Typecheck (push) Has been cancelled
CI / Unit tests (push) Has been cancelled
CI / Playwright E2E (push) Has been cancelled
CI / Docker build smoke (push) Has been cancelled
CI / Triage ledger up to date (push) Has been cancelled
CI / ui bun.lock in sync (push) Has been cancelled
Some checks failed
CI / Lint (push) Has been cancelled
CI / Format check (push) Has been cancelled
CI / Typecheck (push) Has been cancelled
CI / Unit tests (push) Has been cancelled
CI / Playwright E2E (push) Has been cancelled
CI / Docker build smoke (push) Has been cancelled
CI / Triage ledger up to date (push) Has been cancelled
CI / ui bun.lock in sync (push) Has been cancelled
Refs: PLAT-62
This commit is contained in:
parent
9db86a93ab
commit
44f589ef95
4 changed files with 47 additions and 1 deletions
8
.github/dependabot.yml
vendored
8
.github/dependabot.yml
vendored
|
|
@ -6,6 +6,8 @@ updates:
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
assignees: ["amoussa1229"]
|
assignees: ["amoussa1229"]
|
||||||
|
commit-message:
|
||||||
|
prefix: "chore(deps)"
|
||||||
groups:
|
groups:
|
||||||
minor-and-patch:
|
minor-and-patch:
|
||||||
update-types: ["minor", "patch"]
|
update-types: ["minor", "patch"]
|
||||||
|
|
@ -19,6 +21,8 @@ updates:
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
assignees: ["amoussa1229"]
|
assignees: ["amoussa1229"]
|
||||||
|
commit-message:
|
||||||
|
prefix: "chore(deps)"
|
||||||
groups:
|
groups:
|
||||||
minor-and-patch:
|
minor-and-patch:
|
||||||
update-types: ["minor", "patch"]
|
update-types: ["minor", "patch"]
|
||||||
|
|
@ -38,6 +42,8 @@ updates:
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
assignees: ["amoussa1229"]
|
assignees: ["amoussa1229"]
|
||||||
|
commit-message:
|
||||||
|
prefix: "chore(deps)"
|
||||||
groups:
|
groups:
|
||||||
minor-and-patch:
|
minor-and-patch:
|
||||||
update-types: ["minor", "patch"]
|
update-types: ["minor", "patch"]
|
||||||
|
|
@ -48,6 +54,8 @@ updates:
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
assignees: ["amoussa1229"]
|
assignees: ["amoussa1229"]
|
||||||
|
commit-message:
|
||||||
|
prefix: "chore(deps)"
|
||||||
groups:
|
groups:
|
||||||
minor-and-patch:
|
minor-and-patch:
|
||||||
update-types: ["minor", "patch"]
|
update-types: ["minor", "patch"]
|
||||||
|
|
|
||||||
22
.github/workflows/policy.yaml
vendored
Normal file
22
.github/workflows/policy.yaml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
name: PR Policy
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, reopened, synchronize, edited, labeled, unlabeled, ready_for_review]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: "policy-${{ github.event.pull_request.number }}"
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
issues: read
|
||||||
|
pull-requests: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
policy:
|
||||||
|
uses: Sea-Haven-Industries/.github/.github/workflows/callable-pr-policy.yaml@9c1ecf942894b19aba5c71b85b41906c6c83b749 # v1.0.5
|
||||||
|
secrets:
|
||||||
|
JIRA_CLOUD_ID: ${{ secrets.JIRA_CLOUD_ID }}
|
||||||
|
JIRA_SERVICE_ACCOUNT_EMAIL: ${{ secrets.JIRA_SERVICE_ACCOUNT_EMAIL }}
|
||||||
|
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
|
||||||
16
AGENTS.md
16
AGENTS.md
|
|
@ -2,6 +2,22 @@
|
||||||
|
|
||||||
This file provides guidance to Coding Agents when working with code in this repository.
|
This file provides guidance to Coding Agents when working with code in this repository.
|
||||||
|
|
||||||
|
## Sea Haven governance
|
||||||
|
|
||||||
|
The engineering handbook is the standards authority; Jira is the work-status authority.
|
||||||
|
|
||||||
|
**Routing:** product work → DEV, infrastructure/platform → PLAT, security → SEC. Search Jira for duplicates before creating a ticket; update the existing ticket if one is found.
|
||||||
|
|
||||||
|
**Branches:** `feature/`, `fix/`, `hotfix/`, `chore/`, `docs/`, `refactor/`, or `release/` plus a kebab-case description. Do not include a Jira key in the branch name.
|
||||||
|
|
||||||
|
**PR titles:** `type(scope): description (DEV-123)` — Jira key suffix required on every non-exempt PR. Allowed types: feat fix docs style refactor perf test build ci chore revert release.
|
||||||
|
|
||||||
|
**PR body:** exactly four `##` headings in order: Summary, Validation, Tests, Notes. Use "None." under Notes when empty. State verifiable facts; do not cite the handbook to justify changes. Do not add AI-attribution footers to commits, PRs, or comments.
|
||||||
|
|
||||||
|
**Security gates:** payment, authentication, secrets, IaC/IAM, and untrusted-input changes require security review. IAM role, policy, or resource-permission changes require cross-family review.
|
||||||
|
|
||||||
|
**CI/supply-chain:** every `uses:` in a workflow file must be pinned to a 40-char SHA with a `# vX.Y.Z` comment.
|
||||||
|
|
||||||
## Project
|
## Project
|
||||||
|
|
||||||
Open SWE is an open-source coding-agent framework built on **LangGraph** + **Deep Agents** (`deepagents.create_deep_agent`). It runs as a LangGraph app: each thread spawns its own isolated cloud sandbox, and the agent is invoked from Slack, Linear, Jira, Confluence, or GitHub (PR comments, plus auto-review on opened / ready-for-review).
|
Open SWE is an open-source coding-agent framework built on **LangGraph** + **Deep Agents** (`deepagents.create_deep_agent`). It runs as a LangGraph app: each thread spawns its own isolated cloud sandbox, and the agent is invoked from Slack, Linear, Jira, Confluence, or GitHub (PR comments, plus auto-review on opened / ready-for-review).
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# CLAUDE.md
|
# CLAUDE.md
|
||||||
|
|
||||||
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. Sea Haven org governance (Jira routing, PR conventions, security gates, CI/SHA pin standards) is defined in the root `AGENTS.md`; this file covers repo-specific guidance only.
|
||||||
|
|
||||||
## Project
|
## Project
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue