fix(ci): update triggers for the workflows

This commit is contained in:
Ashwin Bharambe 2025-08-14 10:18:50 -07:00
parent ee7631b6cf
commit 6b1438c838
2 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@ run-name: Run the integration test suite from tests/integration in replay mode
on: on:
push: push:
branches: [ main ] branches: [ main ]
pull_request_target: pull_request:
branches: [ main ] branches: [ main ]
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
paths: paths:
@ -34,7 +34,7 @@ on:
concurrency: concurrency:
# Skip concurrency for pushes to main - each commit should be tested independently # Skip concurrency for pushes to main - each commit should be tested independently
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.event.pull_request.number }} group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:

View file

@ -3,7 +3,7 @@ name: Integration Tests (Record)
run-name: Run the integration test suite from tests/integration run-name: Run the integration test suite from tests/integration
on: on:
pull_request: pull_request_target:
branches: [ main ] branches: [ main ]
types: [opened, synchronize, labeled] types: [opened, synchronize, labeled]
paths: paths:
@ -23,7 +23,7 @@ on:
default: 'ollama' default: 'ollama'
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true cancel-in-progress: true
jobs: jobs: