Skip to content

Commit

Permalink
chore: dogfood crda security scanner (#749)
Browse files Browse the repository at this point in the history
* chore: dependency analysis using CRDA GH Action
  • Loading branch information
jparsai authored Apr 19, 2021
1 parent 2f4ff4d commit 7fda795
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/dependency-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: dependency-analysis

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
dependency-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.6
uses: actions/setup-python@v2
with:
python-version: '3.6'
- name: Install dependencies
run: |
mkdir -p site-dir
pip3 install --target=site-dir -r requirements.txt --upgrade
- name: CodeReady Dependency Analysis
uses: fabric8-analytics/gh-actions@main
with:
manifest-file-path: requirements.txt
output-file-path: dependency-analysis-report.json
pkg-installation-directory-path: site-dir
env:
CRDA_KEY: ${{ secrets.CRDA_KEY }}

0 comments on commit 7fda795

Please sign in to comment.