diff --git a/.github/workflows/ai-review.yaml b/.github/workflows/ai-review.yaml index 2693255d..b25074b6 100644 --- a/.github/workflows/ai-review.yaml +++ b/.github/workflows/ai-review.yaml @@ -9,7 +9,7 @@ permissions: write-all jobs: code_review: runs-on: ubuntu-latest - if: github.event.label.name == 'ai-review' + if: github.event.label.name == 'ai-review' && github.event.pull_request.head.repo.full_name == github.repository steps: - name: Checkout Repo uses: actions/checkout@v3 diff --git a/.github/workflows/verify-state-machine.yml b/.github/workflows/verify-state-machine.yml index 970343ab..dea45118 100644 --- a/.github/workflows/verify-state-machine.yml +++ b/.github/workflows/verify-state-machine.yml @@ -18,6 +18,7 @@ jobs: verify-state-machines: name: Verify State Machines runs-on: ubuntu-latest + if: github.event.pull_request.head.repo.full_name == github.repository timeout-minutes: 15 # Prevent hanging jobs container: image: python:3.12.5-slim-bookworm