Skip to content

Commit

Permalink
Prototype implementation of the push to DejaCode, pt.2 #6
Browse files Browse the repository at this point in the history
Signed-off-by: tdruez <[email protected]>
  • Loading branch information
tdruez committed Apr 25, 2024
1 parent 231347a commit 860c83f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/push-to-dejacode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ jobs:
runs-on: ubuntu-22.04
name: Scan codebase with ScanCode.io
steps:
- uses: actions/checkout@v4

- uses: nexB/scancode-action@alpha
with:
pipelines: "scan_codebase"
Expand All @@ -15,3 +17,10 @@ jobs:
env:
DEJACODE_URL: ${{ secrets.DEJACODE_URL }}
DEJACODE_API_KEY: ${{ secrets.DEJACODE_API_KEY }}

- name: Push to DejaCode
shell: bash
run: |
pip install requests
ls -la ${{ github.workspace }}
python ${{ github.workspace }}/scripts/push_to_dejacode.py

0 comments on commit 860c83f

Please sign in to comment.