Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit da96183

Browse files
authored
Merge pull request #17 from secure-dashboards/feat/improve-automation
2 parents 82c2c2a + 8187ece commit da96183

File tree

4 files changed

+10
-1583
lines changed

4 files changed

+10
-1583
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# OpenJS Security Program Standards
22

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/.
44

55
## Website
66

@@ -38,20 +38,22 @@ This command generates static content into the `build` directory and can be serv
3838

3939
## Manage Changes
4040

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+
4143

4244
### Update the compliance checks
4345

4446
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)
4547
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.
4648

47-
### Update the website
49+
### Manual update
4850

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:
5052

5153
```bash
5254
npm run populate-details
5355
npm run populate-implementations
5456
```
5557

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.
5759

data/standards.html

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

0 commit comments

Comments
 (0)