File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 42
42
ref : ${{ env.CHECKOUT_REF }}
43
43
fetch-depth : 0
44
44
45
+ - name : Check Dangerous Command Injection
46
+ if : github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
47
+ uses : opea-project/validation/actions/check-cmd@main
48
+ with :
49
+ work_dir : ${{ github.workspace }}
50
+
45
51
- name : Get test matrix
46
52
id : get-test-matrix
47
53
run : |
Original file line number Diff line number Diff line change 34
34
- name : Checkout out Repo
35
35
uses : actions/checkout@v4
36
36
37
+ - name : Check Dangerous Command Injection
38
+ uses : opea-project/validation/actions/check-cmd@main
39
+ with :
40
+ work_dir : ${{ github.workspace }}
41
+
37
42
- name : Docker Build
38
43
run : |
39
44
docker build -f ${{ github.workspace }}/.github/workflows/docker/${{ env.DOCKER_FILE_NAME }}.dockerfile -t ${{ env.REPO_NAME }}:${{ env.REPO_TAG }} .
You can’t perform that action at this time.
0 commit comments