Skip to content

Commit 870d121

Browse files
authored
Merge pull request #49 from febus982/update-bootstrap
Port bootstrap repository CI improvements
2 parents 46f6184 + 3ff68be commit 870d121

29 files changed

+848
-298
lines changed

.bandit.yml

Lines changed: 404 additions & 0 deletions
Large diffs are not rendered by default.

.codeclimate.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: "2"
2+
plugins:
3+
bandit:
4+
enabled: true
5+
sonar-python:
6+
enabled: true

.coveragerc

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Deploy static content to Pages
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
# Allows you to run this workflow manually from the Actions tab
7+
workflow_dispatch:
8+
9+
10+
jobs:
11+
site:
12+
permissions:
13+
contents: write
14+
uses: ./.github/workflows/reusable-github-pages.yml
15+
with:
16+
site-version: "dev"

.github/workflows/github-pages.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/workflows/python-3.10.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/workflows/python-3.11.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/workflows/python-3.8.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/workflows/python-3.9.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3+
4+
name: Bandit checks
5+
6+
on:
7+
push:
8+
branches: [ "main" ]
9+
pull_request:
10+
branches: [ "main" ]
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
jobs:
15+
bandit:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
21+
- name: Security check - Bandit
22+
uses: ioggstream/[email protected]
23+
with:
24+
project_path: .
25+
config_file: .bandit.yml
26+
27+
# This is optional
28+
- name: Security check report artifacts
29+
uses: actions/upload-artifact@v1
30+
with:
31+
name: Security report
32+
path: output/security_report.txt

0 commit comments

Comments
 (0)