mirror of
https://github.com/caddyserver/caddy.git
synced 2025-04-16 16:19:15 +08:00
Create main.yml
This commit is contained in:
parent
ea77a9ab67
commit
f75d9cafca
24
.github/workflows/main.yml
vendored
Normal file
24
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
name: Go Build and Scan Workflow
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
qwiet-nextgen-scan:
|
||||
runs-on: ubuntu-latest
|
||||
container: shiftleft/core:latest
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Qwiet.AI NextGen Scan
|
||||
run: |
|
||||
sl analyze --app "${GITHUB_REPOSITORY_OWNER}_${GITHUB_REPOSITORY#*/}" --verbose --cpg --go .
|
||||
|
||||
env:
|
||||
SHIFTLEFT_ACCESS_TOKEN: ${{ secrets.SHIFTLEFT_ACCESS_TOKEN }}
|
Loading…
x
Reference in New Issue
Block a user