Skip to content

Commit

Permalink
FIX repair component governance (#557)
Browse files Browse the repository at this point in the history
  • Loading branch information
romanlutz authored Nov 20, 2024
1 parent 8d89944 commit 9bad63b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions component-governance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@ steps:
# Component Governance does not support pyproject.toml yet.
# For that reason, use toml-to-requirements to export the
# dependencies into a requirements.txt file.
- script: pip install --upgrade setuptools pip
name: UpgradePip

- script: pip install toml-to-requirements

- script: toml-to-req --toml-file pyproject.toml

- task: ComponentGovernanceComponentDetection@0
env:
PIP_INDEX_URL: https://pypi.python.org/simple

0 comments on commit 9bad63b

Please sign in to comment.