Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
5f74f031
Unverified
Commit
5f74f031
authored
Apr 07, 2022
by
Nicolas Hug
Committed by
GitHub
Apr 07, 2022
Browse files
Remove Bandit and CodeQL jobs (#5734)
parent
ed0d4689
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
66 deletions
+0
-66
.github/workflows/bandit.yml
.github/workflows/bandit.yml
+0
-23
.github/workflows/codeql.yml
.github/workflows/codeql.yml
+0
-43
No files found.
.github/workflows/bandit.yml
deleted
100644 → 0
View file @
ed0d4689
# GitHub Actions Bandit Workflow
name
:
Bandit
on
:
pull_request
:
branches
:
[
main
]
workflow_dispatch
:
jobs
:
build
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
# Task will fail if any high-severity issues are found
# Ignoring submodules
-
name
:
Run Bandit Security Analysis
run
:
|
python -m pip install bandit
python -m bandit -r . -x ./scripts -lll
.github/workflows/codeql.yml
deleted
100644 → 0
View file @
ed0d4689
# GitHub Actions CodeQL Workflow
name
:
CodeQL
on
:
pull_request
:
branches
:
[
main
]
workflow_dispatch
:
jobs
:
build
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Initialize CodeQL
uses
:
github/codeql-action/init@v1
with
:
languages
:
python, cpp
-
name
:
Install Ninja
run
:
|
sudo apt-get update -y
sudo apt-get install -y ninja-build
-
name
:
Update submodules
run
:
git submodule update --init --recursive
-
name
:
Install Torch
run
:
|
python -m pip install cmake
python -m pip install --pre torch -f https://download.pytorch.org/whl/nightly/cpu/torch_nightly.html
sudo ln -s /usr/bin/ninja /usr/bin/ninja-build
-
name
:
Build TorchVision
run
:
python setup.py develop --user
# If any code scanning alerts are found, they will be under Security -> CodeQL
# Link: https://github.com/pytorch/vision/security/code-scanning
-
name
:
Perform CodeQL Analysis
uses
:
github/codeql-action/analyze@v1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment