final fixes

This commit is contained in:
Ashwin Bharambe 2025-07-31 11:40:15 -07:00
parent f7f3c0c562
commit f56602de27
2 changed files with 10 additions and 7 deletions

View file

@ -5,7 +5,7 @@ run-name: Run the integration test suite from tests/integration
on: on:
push: push:
branches: [ main ] branches: [ main ]
pull_request: pull_request_target:
branches: [ main ] branches: [ main ]
types: [opened, synchronize, labeled] types: [opened, synchronize, labeled]
paths: paths:

View file

@ -5,7 +5,7 @@ run-name: Run vision inference integration test suite from tests/integration/inf
on: on:
push: push:
branches: [ main ] branches: [ main ]
pull_request: pull_request_target:
branches: [ main ] branches: [ main ]
types: [opened, synchronize, labeled] types: [opened, synchronize, labeled]
paths: paths:
@ -29,13 +29,16 @@ on:
default: '' default: ''
concurrency: concurrency:
# This creates three concurrency groups:
# ${{ github.workflow }}-${{ github.ref }}-rerecord (for valid triggers with re-record-tests label)
# ${{ github.workflow }}-${{ github.ref }}-replay (for valid triggers without re-record-tests label)
# ${{ github.workflow }}-${{ github.ref }}-no-run (for invalid triggers that will be skipped)
# The "no-run" group ensures that irrelevant label events don't interfere with the real workflows.
group: >- group: >-
${{ github.workflow }}-${{ github.ref }}-${{ ${{ github.workflow }}-${{ github.ref }}-${{
(github.event.action == 'opened' || ((github.event.action == 'opened' || github.event.action == 'synchronize') && 'replay') ||
github.event.action == 'synchronize' || ((github.event.action == 'labeled' && contains(github.event.pull_request.labels.*.name, 're-record-tests')) && 'rerecord' ||
(github.event.action == 'labeled' && contains(github.event.pull_request.labels.*.name, 're-record-tests'))) && 'no-run')
(contains(github.event.pull_request.labels.*.name, 're-record-tests') && 'rerecord' || 'replay') ||
'no-run'
}} }}
cancel-in-progress: true cancel-in-progress: true