Skip to content

Commit

Permalink
ci: Fix ok-to-test conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyshevch committed Mar 19, 2024
1 parent 921377a commit 87808c2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/make-test-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ name: Make run tests e2e

on:
pull_request:
types: [labeled]
types:
- opened
- labeled
- synchronize

jobs:
build:
if: ${{ github.event.label.name == 'ok-to-test' }}
if: contains(github.event.pull_request.labels.*.name, 'ok-to-test')
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/make-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ name: Make run tests

on:
pull_request:
types: [labeled]
types:
- opened
- labeled
- synchronize

jobs:
build:
if: ${{ github.event.label.name == 'ok-to-test' }}
if: contains(github.event.pull_request.labels.*.name, 'ok-to-test')
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 87808c2

Please sign in to comment.