-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from MorpheusAIs/ryanleung-build
Fix CICD build and security check
- Loading branch information
Showing
69 changed files
with
9 additions
and
817 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
name: Security Scan | ||
permissions: | ||
security-events: write | ||
contents: write | ||
|
||
on: | ||
push: | ||
|
@@ -11,36 +14,30 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
pip install safety bandit | ||
- name: Run Safety check | ||
run: safety check -r requirements.txt | ||
continue-on-error: true | ||
|
||
- name: Run Bandit | ||
run: bandit -r . -f custom | ||
continue-on-error: true | ||
|
||
- name: Run Trivy vulnerability scanner in repo mode | ||
- name: Run Trivy vulnerability scanner | ||
uses: aquasecurity/[email protected] | ||
with: | ||
scan-type: 'fs' | ||
ignore-unfixed: true | ||
format: 'sarif' | ||
output: 'trivy-results.sarif' | ||
severity: 'CRITICAL' | ||
|
||
- name: Upload Trivy scan results to GitHub Security tab | ||
- name: Upload Trivy scan results | ||
uses: github/codeql-action/upload-sarif@v3 | ||
with: | ||
sarif_file: 'trivy-results.sarif' | ||
sarif_file: 'trivy-results.sarif' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,3 +56,6 @@ resources/* | |
## installer | ||
MORagentsWindowsInstaller | ||
MORagentsWindowsInstaller.zip | ||
|
||
## app | ||
MORagents.app |
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
build_assets/macOS/MORagents.app/Contents/Frameworks/Python.framework/Python
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
build_assets/macOS/MORagents.app/Contents/Frameworks/Python.framework/Resources
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-4.73 MB
build_assets/macOS/MORagents.app/Contents/Frameworks/Python.framework/Versions/3.11/Python
Binary file not shown.
28 changes: 0 additions & 28 deletions
28
...cOS/MORagents.app/Contents/Frameworks/Python.framework/Versions/3.11/Resources/Info.plist
This file was deleted.
Oops, something went wrong.
128 changes: 0 additions & 128 deletions
128
...gents.app/Contents/Frameworks/Python.framework/Versions/3.11/_CodeSignature/CodeResources
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
build_assets/macOS/MORagents.app/Contents/Frameworks/Python.framework/Versions/Current
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
build_assets/macOS/MORagents.app/Contents/Frameworks/base_library.zip
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-69.6 KB
..._assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_bisect.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-88.4 KB
..._assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_blake2.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-72.2 KB
build_assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_bz2.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-182 KB
...sets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_codecs_cn.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-182 KB
...sets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_codecs_hk.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-71.5 KB
...macOS/MORagents.app/Contents/Frameworks/lib-dynload/_codecs_iso2022.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-296 KB
...sets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_codecs_jp.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-166 KB
...sets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_codecs_kr.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-166 KB
...sets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_codecs_tw.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-67.8 KB
...ts/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_contextvars.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-90.4 KB
build_assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_csv.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-132 KB
...ssets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_datetime.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-193 KB
...assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_decimal.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-96.9 KB
...assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_hashlib.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-69 KB
...d_assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_heapq.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-91.6 KB
build_assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_lzma.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-70 KB
build_assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_md5.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-95.4 KB
...macOS/MORagents.app/Contents/Frameworks/lib-dynload/_multibytecodec.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-68.4 KB
..._assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_opcode.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-150 KB
..._assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_pickle.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-71.5 KB
...acOS/MORagents.app/Contents/Frameworks/lib-dynload/_posixsubprocess.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-70.9 KB
..._assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_random.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-70.1 KB
...assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_scproxy.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-70 KB
build_assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_sha1.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-70.2 KB
..._assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_sha256.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-71.7 KB
build_assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_sha3.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-70.3 KB
..._assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_sha512.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-130 KB
..._assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_socket.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-217 KB
build_assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_ssl.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-68 KB
...ets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_statistics.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-93.6 KB
..._assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_struct.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-67.4 KB
..._assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/_typing.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-96 KB
build_assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/array.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-87.7 KB
...assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/binascii.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-69.6 KB
build_assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/fcntl.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-70 KB
build_assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/grp.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-110 KB
build_assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/math.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-98.2 KB
..._assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/pyexpat.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-69.6 KB
...assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/resource.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-90.8 KB
...d_assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/select.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-70.9 KB
..._assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/termios.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-1.13 MB
...ets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/unicodedata.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-91.1 KB
build_assets/macOS/MORagents.app/Contents/Frameworks/lib-dynload/zlib.cpython-311-darwin.so
Binary file not shown.
Binary file removed
BIN
-4.01 MB
build_assets/macOS/MORagents.app/Contents/Frameworks/libcrypto.3.dylib
Binary file not shown.
Binary file removed
BIN
-182 KB
build_assets/macOS/MORagents.app/Contents/Frameworks/liblzma.5.dylib
Binary file not shown.
Binary file removed
BIN
-186 KB
build_assets/macOS/MORagents.app/Contents/Frameworks/libmpdec.4.dylib
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
build_assets/macOS/MORagents.app/Contents/Resources/Python.framework
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-1.38 MB
build_assets/macOS/MORagents.app/Contents/Resources/base_library.zip
Binary file not shown.
1 change: 0 additions & 1 deletion
1
build_assets/macOS/MORagents.app/Contents/Resources/lib-dynload
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
build_assets/macOS/MORagents.app/Contents/Resources/libcrypto.3.dylib
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
build_assets/macOS/MORagents.app/Contents/Resources/liblzma.5.dylib
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
build_assets/macOS/MORagents.app/Contents/Resources/libmpdec.4.dylib
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
build_assets/macOS/MORagents.app/Contents/Resources/libssl.3.dylib
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.