Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
229 commits
Select commit Hold shift + click to select a range
ee1a148
updating version number in version details of struts, logstash, gramine
Mar 10, 2023
f860b02
Added criticality Score
swetatech24 Mar 10, 2023
647cc0a
updating version number in version details of struts, logstash, grami…
sand-hya Mar 10, 2023
b4ef14a
Fix first alphabet of letter in table
sudhirverma Mar 10, 2023
a7b76f2
remove src folder as it is not required
sudhirverma Mar 10, 2023
4985554
deleted and modified rdkcryptoapi (#420)
vasanthtech Mar 10, 2023
f532f27
Modified naming convention of Portus (#423)
swetatech24 Mar 10, 2023
fe9c6a2
Merge branch 'Be-Secure:main' into main
sand-hya Mar 12, 2023
df6dc9a
updated osspmaster and versiondetails
Mar 14, 2023
7a8f3be
Merge branch 'main' of https://github.com/sand-hya/BeSLighthouse
Mar 14, 2023
f1e5752
updating OSSP-master and version detials for elasticsearch
Mar 14, 2023
1f011c5
Merge pull request #421 from sudhirverma/typo
asa1997 Mar 15, 2023
add43ef
Merge pull request #428 from sand-hya/main
asa1997 Mar 15, 2023
20e3f4a
Move the OSSPMaster data to a besecure-osspoi-datastore and decouple …
sudhirverma Mar 16, 2023
d3d9146
Fix version summary (#432)
sudhirverma Mar 17, 2023
e2d3b78
Fix #417 (#426)
asa1997 Mar 17, 2023
4af2cdd
Merge pull request #422 from sudhirverma/project-st
asa1997 Mar 17, 2023
b5e30dc
Added visualisation for license compliance (#435)
asa1997 Mar 21, 2023
b483a15
added sbom visualization code (#437)
pramit-d Mar 23, 2023
cac8268
Fixed #438 (#439)
asa1997 Mar 24, 2023
a57207c
Refactoring code (#440)
sudhirverma Mar 30, 2023
b1f2d96
updating version summary page UI (#444)
sand-hya May 8, 2023
73aa4ec
fix css for UI (#446)
sudhirverma May 9, 2023
0260911
Fixing css for pie chart (#447)
sudhirverma May 9, 2023
88e3b16
make assessment Report at center (#448)
sudhirverma May 9, 2023
b62e2cb
Create Roadmap.md (#449)
sudhirverma May 17, 2023
c48fc82
Update Roadmap.md (#450)
sudhirverma May 17, 2023
4dfc112
Update Roadmap.md
sudhirverma May 24, 2023
2e08a9a
Create discussion.md
sudhirverma Jun 2, 2023
161a006
Update Roadmap.md
sudhirverma Jun 2, 2023
db8a5a9
Update discussion.md
sudhirverma Jun 7, 2023
78afa52
Added new UI in React (#452)
sudhirverma Jul 17, 2023
ea1c9fe
Create ci-workflow.yml (#453)
sudhirverma Jul 17, 2023
a7388b3
added GH action for publish (#454)
sudhirverma Jul 17, 2023
20dbc39
Fixing route (#455)
sudhirverma Jul 17, 2023
a87334f
Fixing css (#456)
sudhirverma Jul 18, 2023
f1ae6cc
fix css (#457)
sudhirverma Jul 18, 2023
04d94ac
Fixing dropdown css (#458)
sudhirverma Jul 18, 2023
ffd82c2
Added release version (#459)
sudhirverma Jul 18, 2023
fce465f
Remove SVG which is not required for BeSLighthouse (#460)
sudhirverma Jul 18, 2023
8c27e45
Update discussion.md
sudhirverma Jul 20, 2023
ce24c4c
Update discussion.md
sudhirverma Jul 20, 2023
668c02b
ID to be replaced with package (#461)
sudhirverma Jul 21, 2023
17663a4
Update discussion.md
sudhirverma Jul 25, 2023
518dd51
Update discussion.md
sudhirverma Jul 25, 2023
61091c2
Fix UI with updated JSON for VOI (#462)
sudhirverma Jul 26, 2023
b0ea86b
Update discussion.md
sudhirverma Aug 3, 2023
f0c767b
Update discussion.md
sudhirverma Aug 3, 2023
303ab03
Fix UI for VulnerabilityDetails page (#463)
sudhirverma Aug 18, 2023
f4cd667
Bump version
sudhirverma Aug 18, 2023
5c4f804
release 0.1.0
sudhirverma Aug 18, 2023
9246150
Update discussion.md
sudhirverma Sep 6, 2023
599a185
New UI for BeSLighthouse (#464)
sudhirverma Nov 13, 2023
43af277
Adding Models of Interest (#465)
sudhirverma Nov 24, 2023
56ac8bf
Added Assessment Summary (#466)
sudhirverma Nov 27, 2023
b1fde4e
Added dependency (#467)
sudhirverma Nov 27, 2023
e3d7b90
Updated Landing page UI (#468)
Nov 30, 2023
7c70b3d
Update index.tsx (#469)
Nov 30, 2023
bde7bb6
Fix UI Changes (#470)
sudhirverma Nov 30, 2023
2d42f36
Adding Fuzzing for model (#471)
sudhirverma Dec 3, 2023
1558005
Model UI (#473)
sudhirverma Dec 4, 2023
7eb84f4
Fix css for model (#474)
sudhirverma Dec 4, 2023
47ea789
Fix model table (#476)
sudhirverma Dec 5, 2023
8b31a30
Community discussion notes update (#477)
harimohanr Dec 7, 2023
0d9c601
Implementing UI changes in models (#478)
sudhirverma Dec 8, 2023
eb8d32e
Cosmetic changes on the MOI pages (#479)
harimohanr Dec 8, 2023
271f34c
Master - UI revamp of Assessment page (#483)
anilsingla Dec 8, 2023
15e31a8
Attack Graph Emulation revamp (#485)
sudhirverma Dec 11, 2023
8dffa1e
Fix UI changes for model (#486)
sudhirverma Dec 11, 2023
8aadec0
Added Bar Graph for Version History
anilsingla Dec 11, 2023
9e21f33
Merge pull request #487 from anilsingla/master
anilsingla Dec 11, 2023
89cf874
Updated UI and Cleanup
anilsingla Dec 11, 2023
0bf8dae
Updated UI and Cleanup (#488)
anilsingla Dec 11, 2023
4d396bc
Merge branch 'Be-Secure:main' into master
anilsingla Dec 12, 2023
07daca3
Merge branch 'main' of https://github.com/anilsingla/BeSlighthouse
anilsingla Dec 12, 2023
dae0428
Fix back page in UI (#489)
sudhirverma Dec 12, 2023
952256e
Merge branch 'Be-Secure:main' into master
anilsingla Dec 12, 2023
5996901
Fixed UI issues and handled no data cases
Dec 12, 2023
202775b
Merge branch 'master' of https://github.com/anilsingla/BeSLighthouse
Dec 12, 2023
ad2dc75
Updated project assessment summary UI and no data cases (#490)
anilsingla Dec 12, 2023
a685eb3
Model assessment summary UI (#492)
sudhirverma Dec 12, 2023
09d9849
Updates to the Models table (#491)
harimohanr Dec 12, 2023
0a0e3c7
Fix Detailed Report (#493)
sudhirverma Dec 12, 2023
eb9938e
Added fix for UI dat (#495)
sudhirverma Dec 13, 2023
9b1c89d
Detailed weakness report changes (#494)
harimohanr Dec 13, 2023
56db5c0
Fix UI bug for model (#496)
sudhirverma Dec 13, 2023
3cebaa5
Fix line in model (#497)
sudhirverma Dec 13, 2023
8964458
Merge branch 'Be-Secure:main' into master
anilsingla Dec 14, 2023
a0ebea6
Merge branch 'main' of https://github.com/anilsingla/BeSlighthouse
anilsingla Dec 14, 2023
d60749d
Merge branch 'master' of https://github.com/anilsingla/BeSlighthouse
anilsingla Dec 14, 2023
35b2cf2
Added support for mobile application (#499)
sudhirverma Dec 19, 2023
2c88f9f
Fixed #480 (#500)
asa1997 Jan 2, 2024
368262e
Replaced text for changing views with icons (#501)
asa1997 Jan 2, 2024
0742b6c
Merge branch 'main' of https://github.com/anilsingla/BeSlighthouse
anilsingla Jan 2, 2024
eb37bb8
Added Graph View (#504)
Jan 2, 2024
cb8d892
Added Two download buttons in Defence and vulnerability report (#505)
sudhirverma Jan 2, 2024
eef3aed
updated POI page
anilsingla Jan 3, 2024
aa2613b
resolved conflicts
anilsingla Jan 3, 2024
badfe11
updates to POI
anilsingla Jan 5, 2024
51fce16
Updated Graph UI (#510)
Jan 5, 2024
43361ae
added POI details
Jan 5, 2024
134cea3
Merge branch 'Be-Secure:main' into development
anilsingla Jan 8, 2024
cb4de69
added months as unit and removed duplcate from Bestracking packages
anilsingla Jan 8, 2024
5af8bb1
Merge branch 'development' of https://github.com/anilsingla/BeSlighth…
anilsingla Jan 8, 2024
d82327b
Development (#511)
anilsingla Jan 8, 2024
e8e93e5
Fix for issue #508 (#513)
asa1997 Jan 8, 2024
e473273
added sonarqube data
Jan 8, 2024
5f2795b
updated POI for sonarqube and SAST
anilsingla Jan 9, 2024
0fe91de
merged
anilsingla Jan 9, 2024
6195e0f
Updated POI functons and Data #498 (#514)
anilsingla Jan 9, 2024
813e29e
Added attribution (#515)
asa1997 Jan 9, 2024
289f2c3
CSS fixed (#516)
asa1997 Jan 9, 2024
a234594
fixed license null issue and added keys to components
anilsingla Jan 10, 2024
d4e22c5
Merge branch 'main' into development
anilsingla Jan 10, 2024
9d0416b
fixed merging bugs
anilsingla Jan 10, 2024
f1158ee
Merge pull request #517 from anilsingla/development
anilsingla Jan 10, 2024
430b309
cleanups, indetations and adding key properties and item properties (…
anilsingla Jan 10, 2024
ac254a4
Fix mode for graph (#519)
sudhirverma Jan 10, 2024
39e831f
Fixed #522, #524, #525 (#526)
asa1997 Jan 11, 2024
f6da85f
Development (#527)
anilsingla Jan 11, 2024
b7f6099
Revamped project card page (#532)
asa1997 Jan 12, 2024
859a614
Updated css (#533)
asa1997 Jan 12, 2024
8b2ca07
Added count for Project and Mode and fix Pie chart (#531)
sudhirverma Jan 12, 2024
9b17999
Graph update in MOI (#536)
Jan 14, 2024
b1ee9a6
Fixed #534 #537 #539 (#543)
asa1997 Jan 15, 2024
4d55143
Fix page responsive (#547)
sudhirverma Jan 16, 2024
c1c798a
Fixed issue #540 (#548)
asa1997 Jan 16, 2024
0c2943b
Fixed graph view button issue (#551)
Jan 17, 2024
3586461
Fix Model table, Risk Posture UI (#549)
sudhirverma Jan 17, 2024
5c0fca3
Added sanity check on link to BeS environment scripts in POI project …
Jan 19, 2024
ead415e
Fixed inconsistency in displaying "Not Available" for license details…
Jan 19, 2024
f0bac9b
Fixed broken attribution (#560)
asa1997 Jan 25, 2024
9e29c9b
Added enhancement issue template (#561)
asa1997 Jan 25, 2024
fd2f131
Readme file update and license added (#563)
harimohanr Jan 29, 2024
706a7a8
Fixed #558 (#565)
asa1997 Jan 30, 2024
7dfd024
Fixed issue: Incorrectly displaying the parent project name as part o…
Jan 31, 2024
ecd1400
Fixed #562 (#568)
asa1997 Jan 31, 2024
29f22b1
Added Arc Diagram (#570)
Jan 31, 2024
c9c3bca
Fixed #538 (#569)
asa1997 Jan 31, 2024
a73813d
Fixed #541 (#571)
asa1997 Feb 1, 2024
cc616b8
Fixed #567 #542 (#572)
asa1997 Feb 2, 2024
781a1a9
Adding filter for POI (#564)
sudhirverma Feb 2, 2024
d1e755e
Added color grading (#574)
Feb 6, 2024
d903d16
Added filter for MOI (#583)
sudhirverma Feb 9, 2024
d29d9d0
Reworded Dependencies messages (#584)
Feb 13, 2024
08bb31f
Fixed issue #575: Revamp of project card page (#590)
asa1997 Feb 16, 2024
37d01d2
Rewamp VOI page (#589)
sudhirverma Feb 16, 2024
2a13250
Updated arc diagram: Grouped the models by model type (#588)
Feb 16, 2024
042e0cb
Disabled OSAR,envs & playbook button ; Adjusted height of charts (#592)
asa1997 Feb 19, 2024
caaa4a0
Added latest version as default project card version (#593)
Feb 23, 2024
ec00280
Fix count for SonarQube data (#595)
sudhirverma Feb 23, 2024
2c9e66b
Fixed #594 (#596)
asa1997 Feb 23, 2024
2325f8d
Fixed #598 : Updated css for sast report summary (#597)
asa1997 Feb 23, 2024
8248986
Fixed criticality score data fetch issue (#604)
Mar 1, 2024
42f5a84
Added SAST vulnerability - msg label (#606)
sudhirverma Mar 1, 2024
c439b8a
Added info icon for OpenSSF Scorecard and criticality score (#605)
Mar 1, 2024
58ca6ce
Fixed #600 : Added info on dependency's weakness availability under d…
asa1997 Mar 11, 2024
23435d1
Improved UI (#612)
Mar 15, 2024
8808adb
Fixing Linting issue for code. (#613)
sudhirverma Mar 15, 2024
2f1ceb4
finxing env for datastore (#615)
sudhirverma Mar 15, 2024
dfdd68a
Fix Build (#616)
sudhirverma Mar 20, 2024
4003913
Refactor code (#617)
sudhirverma Mar 29, 2024
0d8c988
added service files
anilsingla Apr 4, 2024
eb7a92e
Merge pull request #619 from anilsingla/main
anilsingla Apr 4, 2024
8c63a92
add apiDetailsConfig.json for gitLab configuration (#618)
sudhirverma Apr 4, 2024
b0fe4cc
Changed bin to lib
anilsingla Apr 4, 2024
29d9ee6
update check in service script
anilsingla Apr 4, 2024
aa44d94
Merge pull request #621 from Be-Secure/anilsingla-patch-2
anilsingla Apr 4, 2024
532db81
Merge pull request #620 from Be-Secure/anilsingla-patch-1
anilsingla Apr 4, 2024
aa0a8de
Update beslighthouse.service (#622)
anilsingla Apr 5, 2024
4efba41
Upgrading packages to resolve --force issue while installing (#623)
sudhirverma Apr 10, 2024
2bc584c
Refactoring code (#624)
sudhirverma Apr 12, 2024
d609d84
Fix UI with empty data
sudhirverma Apr 16, 2024
aad8691
Merge pull request #625 from sudhirverma/main
anilsingla Apr 16, 2024
1d170c8
Fix Ui for project card and model Defense Model Capability (#626)
sudhirverma Apr 18, 2024
69f1102
Added support for OSAR (#629)
sudhirverma Jun 12, 2024
cbeaafd
Added contribution guide (#627) (#630)
sudhirverma Jun 12, 2024
311ce24
Update CODEOWNERS
sudhirverma Jul 18, 2024
b915908
Creating PR from develop to main (#640)
sudhirverma Jul 18, 2024
dc8ba8f
Fixing release script (#641) (#642)
sudhirverma Jul 18, 2024
7abab84
Added Lab Name and OSAR download and check mark (#645)
sudhirverma Aug 30, 2024
c1024b8
Update CODEOWNERS
sudhirverma Sep 12, 2024
6cbeb0b
Fix title for Vulnerabilities and Risk Posture (#648)
sudhirverma Oct 8, 2024
1c45040
fix OSAR for model (#649)
sudhirverma Oct 8, 2024
d86c5b2
Added title for Nod data Available (#650)
sudhirverma Oct 8, 2024
0eed64b
download OSAR report (#651)
sudhirverma Oct 9, 2024
a077603
Fix PDF (#652)
sudhirverma Oct 9, 2024
996ac6e
update version
sudhirverma Oct 9, 2024
99a05fc
remove title for github (#653)
sudhirverma Oct 10, 2024
5ca1b26
Update CODEOWNERS
sudhirverma Oct 21, 2024
167c9e2
New UI MOI (#654)
sudhirverma Oct 25, 2024
f3afc58
Fix UI changes for model report (#655)
sudhirverma Oct 28, 2024
c8fe92f
Update apiDetailsConfig.json
sudhirverma Oct 28, 2024
fedcf67
refactor code for Project Card (#656)
sudhirverma Nov 4, 2024
4fe308d
Fixed LLM and Classig model condetion and fix CycloneSX icon (#657)
sudhirverma Nov 6, 2024
202841c
fix space for model report (#658)
sudhirverma Nov 6, 2024
0ae3953
Update apiDetailsConfig.json
sudhirverma Nov 6, 2024
25a4260
fix model report for new tab (#660)
sudhirverma Nov 13, 2024
d2423da
Added BeSLighthouse deployment in (BeSLab) (#659)
sudhirverma Nov 15, 2024
9e2545f
Added Compatible Environments and playbook (#661)
sudhirverma Jan 30, 2025
6f603fd
update version
sudhirverma Jan 30, 2025
27a3ecb
Added all 7 benchmark (#662)
sudhirverma Feb 24, 2025
9d0f787
Update apiDetailsConfig.json
sudhirverma Feb 24, 2025
dd641fc
Added new design implementation for MOI (#666)
sudhirverma Feb 28, 2025
653317b
Update apiDetailsConfig.json
sudhirverma Feb 28, 2025
8eb9238
Develop -> main (#670)
sudhirverma Mar 10, 2025
892dcea
Responsive UI for Mitre and Spear Phishing(#671) (#672)
sudhirverma Mar 12, 2025
bfda3a3
Syncing changes with main for release 0.25.0 (#678)
asa1997 Mar 17, 2025
b8b52b8
Develop->main (#683)
sudhirverma Mar 20, 2025
7d8f540
Fix order of Attack Categories (#684) (#685)
sudhirverma Mar 27, 2025
5e3bb1e
Bump version (#686) (#687)
sudhirverma Mar 27, 2025
0c465ca
Prompt Severity Across Attack Categories reduce size for xAxis (#688)…
sudhirverma Mar 27, 2025
1fa6cb3
Develop->main (#693)
sudhirverma Mar 28, 2025
9051cf8
Synching changes to main for release 0.26.4 (#697)
asa1997 Apr 1, 2025
7c19396
Implemented cryptography UI (#699) (#700)
sudhirverma Apr 1, 2025
c35b91c
Develop -> main (#703)
sudhirverma Apr 8, 2025
faaf5fc
Fix model view (#704) (#705)
sudhirverma Apr 8, 2025
7a0ddf9
Added Safety Benchmark and Security Benchmark (#706) (#708)
asa1997 Apr 16, 2025
d53aafb
Vulnerability analysis ->LLM Robustness Audit (#709) (#710)
sudhirverma Apr 16, 2025
25b6e39
Renamed LLM Robustness -> Vulnerability Analysis and version updated …
asa1997 Apr 16, 2025
2e17da8
Fix Industry tag (#714) (#715)
sudhirverma Apr 25, 2025
6f2539b
Fix pagination and hover over feature for bubbles chart (#716) (#717)
sudhirverma Apr 30, 2025
6dd867b
Fix OSAR and Vulnerability Analysis for Detector (#720)
sudhirverma May 12, 2025
bca93e2
GitLab Private and public api support (#721) (#722)
sudhirverma May 14, 2025
cfda7d2
fix error for if components is available (#723) (#724)
sudhirverma May 22, 2025
53383f3
fix if name is undefined (#725) (#726)
sudhirverma Jun 5, 2025
f385c2e
Added Quantum Threat and Mitigation in Cbom (#727) (#728)
sudhirverma Jul 8, 2025
ad99f88
Added demo (#730) (#731)
sudhirverma Sep 19, 2025
4561f82
Fix new model type (#732) (#733)
sudhirverma Oct 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 4 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
SKIP_PREFLIGHT_CHECK=true
DOMAIN_NAME='https://raw.githubusercontent.com';
BES_NAMESPACE='Be-Secure'
BES_BRANCH='main'
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
babel.config.js
metro.config.js
56 changes: 56 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
module.exports = {
root: true,
extends: [
'@react-native-community/eslint-config', // Default RN config
'eslint-config-prettier' // Installed in step 3
],
parser: '@typescript-eslint/parser', // Installed in step 2
plugins: [
'@typescript-eslint', // Installed in step 2
'react', // Installed in step 1
'react-native' // Installed in step 1
],
'parserOptions': {
'ecmaFeatures': {
'jsx': true
},
'project': './tsconfig.json' // Required for Standard plugin
},
'env': {
'react-native/react-native': true
},
'rules': {
'prettier/prettier': 'off', // Turn off prettier
// These are the rules that I use
'react-native/no-unused-styles': 'warn',
'react-native/no-inline-styles': 'off',
'react-native/no-raw-text': ['off', {
skip: ['CustomText']
}],
"react-native/no-single-element-style-arrays": "warn",
'object-curly-spacing': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/strict-boolean-expressions': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/require-array-sort-compare': ['error', {
ignoreStringArrays: true
}],
'react/jsx-curly-spacing': ['error', {
when: 'always',
allowMultiline: true,
children: true
}],
'eol-last': ['error', 'always'],
'no-multiple-empty-lines': 'error',
semi: ['error', 'always'],
// Indent with 2 spaces
indent: ['error', 2],
// Indent JSX with 2 spaces
'react/jsx-indent': ['error', 2],
"no-unused-vars": "error",
// Indent props with 2 spaces
'react/jsx-indent-props': ['error', 2],
'react/no-unstable-nested-components' : 'off'
}
};
43 changes: 43 additions & 0 deletions .github/ISSUE_TEMPLATE/enhancement.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Enhancement request
description: Suggest an idea for this project
title: '[Enhancement]: '
labels: [enhancement, cyan]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this enhancement request!
- type: checkboxes
attributes:
label: Contribution guidelines
description: Please read the contribution guidelines before proceeding.
options:
- label: I've read the [contribution guidelines](https://be-secure.github.io/Be-Secure/contribute.html) and wholeheartedly agree
required: true
- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of what the enhancement is.
value: "Tell us the enhancement."
validations:
required: true
- type: textarea
attributes:
label: Motivation
description: A clear and concise explanation of why this enhancement would be useful and beneficial.
validations:
required: true
- type: textarea
attributes:
label: Expected behaviour
description: A clear and concise description of what you expect to happen if this enhancement is implemented.
validations:
required: true
- type: textarea
id: Additional-context
attributes:
label: Additional context
description: Add any other context or screenshots about the enhancement request here.
render: shell

47 changes: 47 additions & 0 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# This is a basic workflow

name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on:
push:
branches: [main]
pull_request:
branches: [main]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, 'windows-latest']

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
with:
fetch-depth: 0

# Set up Node
- name: Use Node 16.x
uses: actions/setup-node@v1
with:
node-version: 16.11.0

# Run install dependencies
- name: Install dependencies
run: npm i

# Run install dependencies
- name: Run Lint
run: npm run lint

# Build extension
- name: Run build
run: npm run build

62 changes: 28 additions & 34 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: GitHub Pages

on:
push:
tags:
- '*.*.*'

jobs:
deploy:
runs-on: ubuntu-latest
Expand All @@ -14,46 +14,40 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3

- name: Setup Python
uses: actions/setup-python@v3
- name: Use Node 18.x
uses: actions/setup-node@v1
with:
python-version: '3.8'

- name: Upgrade pip
node-version: 18.18.2
- name: set env
run: |
# install pip=>20.1 to use "pip cache dir"
python3 -m pip install --upgrade pip

- name: Get pip cache dir
id: pip-cache
run: echo "::set-output name=dir::$(pip cache dir)"

- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-

- name: Install dependencies
run: python3 -m pip install -r ./requirements.txt

- run: mkdocs build
- run: echo "${{ github.ref }}"
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
export NODE_OPTIONS=--openssl-legacy-provider

- name: install dependency
run: npm install
- name: Run Build
run: |
npm run build
- name: Deploy to GitHub Pages
if: |
!contains(github.ref, 'rc') &&
!contains(github.ref, 'RC') &&
!contains(github.ref, 'alpha') &&
!contains(github.ref, 'M') &&
!contains(github.ref, 'beta')
uses: JamesIves/github-pages-deploy-action@4.1.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
branch: gh-pages
folder: build # Replace "dist" with the output directory of your build
release:
needs: deploy
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -63,4 +57,4 @@ jobs:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
prerelease: false
24 changes: 23 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
site/
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"trailingComma": "es5",
"tabWidth": 4,
"semi": false,
"singleQuote": true
}
6 changes: 6 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.validate": ["javascript"]
}
19 changes: 19 additions & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# This is a comment.
# Each line is a file pattern followed by one or more owners.
# More on CODEOWNERS files: https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners

# Entries that are commented out have maintainers that are not in the
# Be-Secure organization and so cannot be automatically added as reviewers.
#
# We retain those as documentation of who agreed to maintain, but they
# cannot be used automatically by GitHub's pull request workflow and would
# make GitHub consider this file invalid if not commented.

# For any changes, Unless a later match takes precedence, these maintainer will be requested for review
* @sudhirverma @harimohanr @asa1997

# For docs and other md files
*.md @sudhirverma @asa1997 @harimohanr @panickervinod

# For source code changes
src/* @sudhirverma @asa1997 @harimohanr
Loading