There was an error while loading. Please reload this page.
1 parent 18c966c commit 6c19d44Copy full SHA for 6c19d44
1 file changed
.github/workflows/privileged.yml
@@ -10,7 +10,8 @@ on:
10
jobs:
11
integration-test-python:
12
# all jobs MUST have this if check for 'ok-to-test' or 'approved' for security purposes.
13
- if: contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(github.event.pull_request.labels.*.name, 'approved')
+ if: (github.event.action == 'labeled' && (github.event.label.name == 'approved' || github.event.label.name == 'ok-to-test'))
14
+ || (github.event.action != 'labeled' && (contains(github.event.pull_request.labels.*.name, 'ok-to-test') || contains(github.event.pull_request.labels.*.name, 'approved')))
15
runs-on: ubuntu-latest
16
container: gcr.io/kf-feast/feast-ci:latest
17
steps:
0 commit comments