Skip to content

Commit

Permalink
Created YAML file
Browse files Browse the repository at this point in the history
  • Loading branch information
ZayanShahid committed Nov 23, 2024
1 parent 8dab0ae commit 3587252
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/cytex.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

name: Cytex Scan
on:
push:
branches:
- "master"
- "main"
jobs:
analyze:
name: Code analysis
runs-on: ubuntu-latest
steps:
- name: Install Grype
run: curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin
- name: Install Semgrep
run: python3 -m pip install semgrep
- name: Checkout repository
uses: actions/checkout@v2
- name: Run Grype
run: grype dir:./ -o json
- name: Run Semgrep
run: semgrep --config=auto ./ --json

0 comments on commit 3587252

Please sign in to comment.