mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Merge branch 'feature/pypi-ci' of github.com:AikidoSec/safe-chain into feature/pypi-ci
This commit is contained in:
commit
7a39b1381b
1 changed files with 0 additions and 19 deletions
19
README.md
19
README.md
|
|
@ -165,22 +165,3 @@ This automatically configures your CI environment to use Aikido Safe Chain for a
|
||||||
```
|
```
|
||||||
|
|
||||||
After setup, all subsequent package manager commands in your CI pipeline will automatically be protected by Aikido Safe Chain's malware detection.
|
After setup, all subsequent package manager commands in your CI pipeline will automatically be protected by Aikido Safe Chain's malware detection.
|
||||||
|
|
||||||
### Python (pip/pip3) example
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
- name: Setup Python
|
|
||||||
uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: '3.x'
|
|
||||||
|
|
||||||
- name: Setup safe-chain
|
|
||||||
run: |
|
|
||||||
npm i -g @aikidosec/safe-chain
|
|
||||||
safe-chain setup-ci
|
|
||||||
|
|
||||||
- name: Install Python dependencies
|
|
||||||
run: |
|
|
||||||
pip3 install --upgrade pip
|
|
||||||
pip3 install -r requirements.txt
|
|
||||||
```
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue