Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .devin/blueprint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
clone:
depth: 1
lfs: false
submodules: false
initialize: |
command -v uv >/dev/null 2>&1 || curl -LsSf https://astral.sh/uv/install.sh | sh
uv python install 3.12
maintenance: |
pip install -r requirements.txt
knowledge:
- name: test
contents: |
python3 -m pytest
25 changes: 25 additions & 0 deletions .github/workflows/sync-devin-blueprint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Sync Devin blueprint

on:
push:
branches: [main]
paths: ['.devin/blueprint.yaml']

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Sync blueprint to Devin
run: |
curl -sf -X POST \
"https://api.devin.ai/v3beta1/organizations/${{ secrets.DEVIN_ORG_ID }}/snapshot-setup/sync" \
-H "Authorization: Bearer ${{ secrets.DEVIN_API_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{"repo_name": "${{ github.repository }}"}'
- name: Trigger Devin snapshot build
run: |
curl -sf -X POST \
"https://api.devin.ai/v3beta1/organizations/${{ secrets.DEVIN_ORG_ID }}/snapshot-setup/builds" \
-H "Authorization: Bearer ${{ secrets.DEVIN_API_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{}'
30 changes: 30 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
queue_rules:
- name: default
merge_method: squash
queue_conditions:
- label=ready-to-merge
merge_conditions:
- label=ready-to-merge

pull_request_rules:
- name: queue when ready
conditions:
- label=ready-to-merge
actions:
queue:
name: default

commands_restrictions:
queue:
conditions:
- or:
- sender-permission >= write
- sender = devin-ai-integration
- sender = devin-ai-integration[bot]

merge_protections:
- name: ready label
if:
- base=main
success_conditions:
- label=ready-to-merge
Loading