forked from opea-project/GenAIExamples
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (26 loc) · 784 Bytes
/
Copy pathmix-trellix.yml
File metadata and controls
31 lines (26 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
name: Trellix Command Line Scanner
permissions:
contents: read
on:
workflow_dispatch:
schedule:
- cron: "35 1 * * 6"
jobs:
Trellix:
runs-on: trellix
steps:
- name: Clean Up Working Directory
run: sudo rm -rf ${{github.workspace}}/*
- name: Checkout out Repo
uses: actions/checkout@v4
- name: Run Trellix Scanner
env:
workspace: ${{ github.workspace }}
run: bash .github/workflows/scripts/codeScan/trellix.sh
- name: Publish pipeline artifact
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v4
with:
path: ${{ github.workspace }}/.github/workflows/scripts/codeScan/report.html