Skip to content

Merge pull request #739 from theislab/dev #3027

Merge pull request #739 from theislab/dev

Merge pull request #739 from theislab/dev #3027

Workflow file for this run

name: Run bandit
on:
push:
branches:
- main
- release
- dev
paths:
- "**/*.py"
pull_request:
paths:
- "**/*.py"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
run-bandit:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')"
steps:
- uses: actions/checkout@v2
name: Check out source-code repository
- name: Setup Python
uses: actions/setup-python@v2.1.4
with:
python-version: 3.9
- name: Install bandit
run: pip install bandit
- name: Run bandit
run: bandit -r sfaira -c .bandit.yml