Skip to content

Commit

Permalink
ci: label triggered liquidation testing
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Aug 20, 2024
1 parent db9966d commit 53f1f64
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/liquidation-reconstitution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,17 @@ on:
required: false
default: latest
type: string
pull_request:
types:
- labeled

concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label ||
github.head_ref || github.ref }}'
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true

jobs:
run-e2e:
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(github.event.label.name, 'liquidation-reconstitution-testing')
uses: ./.github/workflows/reusable-workflow.yml
with:
docker_compose_command: |
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/liquidation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,17 @@ on:
required: false
default: latest
type: string
pull_request:
types:
- labeled

concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label ||
github.head_ref || github.ref }}'
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true

jobs:
run-e2e:
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || contains(github.event.label.name, 'liquidation-testing')
uses: ./.github/workflows/reusable-workflow.yml
with:
docker_compose_command: |
Expand Down

0 comments on commit 53f1f64

Please sign in to comment.