Skip to content

Commit

Permalink
Merge pull request #1 from e6-qwiet/e6-prezero-workflow-add
Browse files Browse the repository at this point in the history
Create qwiet-prezero-workflow.yml
  • Loading branch information
e6-qwiet authored Dec 13, 2024
2 parents f4feb7e + b353c0b commit 1e7484a
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/qwiet-prezero-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This workflow integrates Qwiet preZero with GitHub
# Visit https://docs.shiftleft.io for help
name: Qwiet

on:
pull_request:
workflow_dispatch:
push:
# We recommend triggering a scan when merging to your default branch
# as a best practice, especially if you'd like to compare the results
# of two scans (e.g., a feature branch against the default branch)
branches:
- main
- master

jobs:
ngsast-build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2

- name: Download the Qwiet CLI and set permissions
run: |
curl https://cdn.shiftleft.io/download/sl > ${GITHUB_WORKSPACE}/sl && chmod a+rx ${GITHUB_WORKSPACE}/sl
# Qwiet requires Java 1.8
- name: Set up Java
uses: actions/[email protected]
with:
java-version: 1.8

- name: NextGen Static Analysis
run: ${GITHUB_WORKSPACE}/sl analyze --app shiftleft-python-demo-GH --tag branch=${{ github.head_ref || steps.extract_branch.outputs.branch }} --python .
env:
SHIFTLEFT_ACCESS_TOKEN: ${{ secrets.SHIFTLEFT_ACCESS_TOKEN }}

0 comments on commit 1e7484a

Please sign in to comment.