From dbac37aa6c0a087ce06fb3f6839348ba7b0fe7c5 Mon Sep 17 00:00:00 2001 From: gtethan Date: Thu, 31 Aug 2023 12:55:37 -0800 Subject: [PATCH] Created YAML file --- .github/workflows/cytex.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/cytex.yml diff --git a/.github/workflows/cytex.yml b/.github/workflows/cytex.yml new file mode 100644 index 000000000000..e2962902e1df --- /dev/null +++ b/.github/workflows/cytex.yml @@ -0,0 +1,16 @@ + +name: Cytex Scan +on: + push: + branches: ["master", "main"] +jobs: + analyze: + name: Code analysis + runs-on: ubuntu-latest + steps: + - run: curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin + - run: python3 -m pip install semgrep + - name: Checkout + uses: actions/checkout@v2 + - run: grype dir:./ -o json + - run: semgrep --config=auto ./ --json