Skip to content

Commit 5f7f255

Browse files
authored
Update workflow.yml
1 parent 4ad873c commit 5f7f255

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

.github/workflows/workflow.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
1-
name: SourceGuard Code Analysis
2-
on: [push]
1+
name: CI Pipeline
2+
3+
on:
4+
- push
5+
- pull_request
36

47
jobs:
58
code-analysis:
6-
runs-on: ubuntu-latest
7-
container:
8-
image: sourceguard/sourceguard-cli
9-
steps:
10-
- name: Scan
11-
uses: CheckPointSW/sourceguard-action@main
12-
with:
13-
SG_CLIENT_ID: ${{ secrets.SG_CLIENT_ID }}
14-
SG_SECRET_KEY: ${{ secrets.SG_SECRET_KEY }}
9+
uses: CheckPointSW/org-templates/.github/workflows/code-analysis.yml@main
10+
secrets: inherit
1511

1612
build-n-publish:
1713
name: Build and publish Python 🐍 distributions 📦 to PyPI

0 commit comments

Comments
 (0)