mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 08:03:15 +00:00
ci: add org PR policy caller
Refs: PLAT-62
This commit is contained in:
parent
9db86a93ab
commit
9ec9db2a6c
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:
|
||||
interval: "weekly"
|
||||
assignees: ["amoussa1229"]
|
||||
commit-message:
|
||||
prefix: "chore(deps)"
|
||||
groups:
|
||||
minor-and-patch:
|
||||
update-types: ["minor", "patch"]
|
||||
|
|
@ -19,6 +21,8 @@ updates:
|
|||
schedule:
|
||||
interval: "weekly"
|
||||
assignees: ["amoussa1229"]
|
||||
commit-message:
|
||||
prefix: "chore(deps)"
|
||||
groups:
|
||||
minor-and-patch:
|
||||
update-types: ["minor", "patch"]
|
||||
|
|
@ -38,6 +42,8 @@ updates:
|
|||
schedule:
|
||||
interval: "weekly"
|
||||
assignees: ["amoussa1229"]
|
||||
commit-message:
|
||||
prefix: "chore(deps)"
|
||||
groups:
|
||||
minor-and-patch:
|
||||
update-types: ["minor", "patch"]
|
||||
|
|
@ -48,6 +54,8 @@ updates:
|
|||
schedule:
|
||||
interval: "weekly"
|
||||
assignees: ["amoussa1229"]
|
||||
commit-message:
|
||||
prefix: "chore(deps)"
|
||||
groups:
|
||||
minor-and-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.
|
||||
|
||||
## 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
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue