Skip to content

refactor: introduce StateManagement interface and CompositeStateManagement #4

refactor: introduce StateManagement interface and CompositeStateManagement

refactor: introduce StateManagement interface and CompositeStateManagement #4

Workflow file for this run

name: Jules PR Review
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
pull-requests: write
issues: write
concurrency:
group: jules-pr-review-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
review:
# Only trigger for repo owner PRs (personal repo)
if: github.event.pull_request.user.login == github.repository_owner
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout PR code
uses: actions/checkout@v4
- name: Run Jules PR review
env:
JULES_API_KEY: ${{ secrets.JULES_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}
PR_TITLE: ${{ github.event.pull_request.title }}
PR_AUTHOR: ${{ github.event.pull_request.user.login }}
BASE_REF: ${{ github.event.pull_request.base.ref }}
BASE_SHA: ${{ github.event.pull_request.base.sha }}
HEAD_REF: ${{ github.event.pull_request.head.ref }}
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
PR_URL: ${{ github.event.pull_request.html_url }}
run: |
python3 .github/scripts/jules_pr_review.py