[Snyk] Upgrade systeminformation from 5.23.8 to 5.23.13 #1165
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Renovate Bot GitHub Action | |
uses: renovatebot/[email protected] | |
- name: First interaction | |
uses: actions/[email protected] | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
issue-message: 'Thank you for your issue!' | |
pr-message: 'Thank you for your pull request!' | |
- name: Renovate Bot GitHub Action | |
uses: renovatebot/[email protected] | |
with: | |
configurationFile: '.github/renovate.json' | |
token: ${{ secrets.RENOVATE_TOKEN }} | |
useSlim: true | |
env-regex: '^(?:RENOVATE_\\w+|LOG_LEVEL|GITHUB_COM_TOKEN|NODE_OPTIONS)$' | |
renovate-version: 'latest' | |
- name: Upload Tool Results To Pixeebot | |
uses: pixee/[email protected] | |
- name: Create Pull Request | |
uses: peter-evans/[email protected] | |
security: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install safety | |
pip install truffleHog | |
curl -sSL https://github.com/zricethezav/gitleaks/releases/download/v8.2.1/gitleaks-linux-amd64.tar.gz | tar -xzf - -C /usr/local/bin gitleaks | |
npm install -g snyk | |
npm install -g @actions/core @actions/github | |
- name: Run Safety | |
run: | | |
safety check --full-report | |
- name: Run truffleHog | |
run: | | |
trufflehog filesystem --directory . --json | tee trufflehog_results.json | |
- name: Run Gitleaks | |
run: | | |
gitleaks detect --source . --report-format json --report-path gitleaks_results.json | |
- name: Run Snyk | |
run: | | |
snyk auth ${{ secrets.SNYK_TOKEN }} | |
snyk test | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: security-reports | |
path: | | |
trufflehog_results.json | |
gitleaks_results.json |