Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ci workflow #498

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
### What I did

<!-- Quick summary of the work your code accomplished (less technical) -->

### How I did it

<!-- Overview of how the code is put together (more technical). Document more specific design decisions in the code as comments. -->

### Example screenshots/gifs (suggested for frontend work)

<!-- Before and after screenshots/gifs -->
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
workflow_dispatch:
pull_request: # Allow building on any PR
push:
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
checkmarx:
name: ✅ Checkmarx Vulnerability Scan ✅
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
statuses: write
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Scan project
uses: Checkmarx/[email protected]
with:
base_uri: https://ast.checkmarx.net/
cx_tenant: shifttechnologies
cx_client_id: ${{ secrets.CHECKMARX_CLIENT_ID }}
cx_client_secret: ${{ secrets.CHECKMARX_CLIENT_SECRET }}
project_name: ${{ github.repository }}
branch: ${{ github.ref }}
additional_params: --sast-incremental --scan-types sast --filter status=NEW --threshold "sast-high=18"