You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 20, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# OpenJS Security Program Standards
2
2
3
-
This Standard is designed to serve as an achievable minimum security baseline for OpenJS Foundation Project maintainers. More plainly said, this is intended to be used as an easily digested and actioned security checklist.
3
+
This repo contains the source code and infra used to build and the deploy the website: https://openjs-security-program-standards.netlify.app/.
4
4
5
5
## Website
6
6
@@ -38,20 +38,22 @@ This command generates static content into the `build` directory and can be serv
38
38
39
39
## Manage Changes
40
40
41
+
Most of the content of this website is autogenerated with Github Actions, this include the content from [docs/implementations](/docs/implementations) and [docs/details](/docs/details) files.
42
+
41
43
42
44
### Update the compliance checks
43
45
44
46
1. Go to [Actions: Sync and update Compliance Checks](https://github.com/secure-dashboards/openjs-security-program-standards/actions/workflows/sync_checks.yml) and run the action manually from the `main` branch. [how-to](https://docs.github.com/en/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow)
45
47
2. This will generate a PR with the title `[AUTO] Sync with dashboard database` and it will assign it to you ([direct access](https://github.com/secure-dashboards/openjs-security-program-standards/pulls?q=sort%3Aupdated-desc+is%3Apr+is%3Aopen++%5BAUTO%5D+Sync+with+dashboard+database+)). Please review the content and merge it when you feel ready.
46
48
47
-
### Update the website
49
+
### Manual update
48
50
49
-
Once you have updated the items, you can update the website by running the following commands:
51
+
Once you have updated the [data/checks.json](/data/checks.json) file, you can update the website by running the following commands:
50
52
51
53
```bash
52
54
npm run populate-details
53
55
npm run populate-implementations
54
56
```
55
57
56
-
This will autopolulate the details and implementations sections of the website, respectively. Note that this will modify the folders `docs/details` and `docs/implementations` so make sure to commit the changes.
58
+
This will autopolulate the details and implementations sections of the website, respectively. So make sure to commit the changes.
0 commit comments