File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # .github/workflows/jules-backend.yml
2+
3+ name : Jules Backend Agent
4+
5+ on :
6+ issues :
7+ types : [labeled]
8+ workflow_dispatch :
9+ inputs :
10+ prompt :
11+ description : ' Task for Jules'
12+ required : true
13+ branch :
14+ description : ' Base branch (default: develop)'
15+ default : ' develop'
16+
17+ jobs :
18+ assign-to-jules :
19+ runs-on : ubuntu-latest
20+ # Only run when the 'jules-backend' label is applied
21+ if : |
22+ github.event_name == 'workflow_dispatch' ||
23+ (github.event_name == 'issues' && contains(github.event.issue.labels.*.name, 'jules-backend'))
24+
25+ steps :
26+ - name : Invoke Jules
27+ uses : google-labs-code/jules-invoke@v1
28+ with :
29+ prompt : |
30+ ${{ github.event_name == 'issues' && github.event.issue.body || inputs.prompt }}
31+
32+ IMPORTANT CONSTRAINTS (always apply):
33+ - Base your work on the `develop` branch
34+ - Only modify files listed in AGENTS.md under "Backend Scope for Jules"
35+ - Never touch apps/mobile/ or any frontend page files
36+ - Follow all conventions in AGENTS.md
37+ branch : ${{ inputs.branch || 'develop' }}
38+ jules_api_key : ${{ secrets.JULES_API_KEY }}
You can’t perform that action at this time.
0 commit comments