Skip to content

Commit 4060c3d

Browse files
authored
ci: Allow pr_integration_tests to also run on lgtm (#2674)
Signed-off-by: Danny Chiao <danny@tecton.ai>
1 parent 8d76751 commit 4060c3d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/pr_integration_tests.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
build-docker-image:
1717
# all jobs MUST have this if check for 'ok-to-test' or 'approved' for security purposes.
1818
if:
19-
(github.event.action == 'labeled' && (github.event.label.name == 'approved' || github.event.label.name == 'ok-to-test')) ||
20-
(github.event.action != 'labeled' && (contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(github.event.pull_request.labels.*.name, 'approved')))
19+
(github.event.action == 'labeled' && (github.event.label.name == 'approved' || github.event.label.name == 'lgtm' || github.event.label.name == 'ok-to-test')) ||
20+
(github.event.action != 'labeled' && (contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(github.event.pull_request.labels.*.name, 'approved') || contains(github.event.pull_request.labels.*.name, 'lgtm')))
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@v2
@@ -74,8 +74,8 @@ jobs:
7474
integration-test-python:
7575
# all jobs MUST have this if check for 'ok-to-test' or 'approved' for security purposes.
7676
if:
77-
(github.event.action == 'labeled' && (github.event.label.name == 'approved' || github.event.label.name == 'ok-to-test')) ||
78-
(github.event.action != 'labeled' && (contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(github.event.pull_request.labels.*.name, 'approved')))
77+
(github.event.action == 'labeled' && (github.event.label.name == 'approved' || github.event.label.name == 'lgtm' || github.event.label.name == 'ok-to-test')) ||
78+
(github.event.action != 'labeled' && (contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(github.event.pull_request.labels.*.name, 'approved') || contains(github.event.pull_request.labels.*.name, 'lgtm')))
7979
needs: build-docker-image
8080
runs-on: ${{ matrix.os }}
8181
strategy:

0 commit comments

Comments
 (0)