From 9f374311ae8954ae1d0e84590037997f177ed28c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulises=20Gasc=C3=B3n?= Date: Mon, 10 Jun 2024 19:12:56 +0200 Subject: [PATCH] Migration to OSSF Org (#75) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: remove license reference from the pkg Signed-off-by: Ulises Gascón * chore: update git URL references Signed-off-by: Ulises Gascón --------- Signed-off-by: Ulises Gascón --- .versionrc.json | 4 +- CHANGELOG.md | 94 +++++++++++----------- README.md | 8 +- __tests__/__snapshots__/utils.test.js.snap | 10 +-- package-lock.json | 1 - package.json | 7 +- templates/issue.ejs | 2 +- templates/report.ejs | 2 +- 8 files changed, 63 insertions(+), 65 deletions(-) diff --git a/.versionrc.json b/.versionrc.json index 2f5dc0a..5292ff5 100644 --- a/.versionrc.json +++ b/.versionrc.json @@ -9,6 +9,6 @@ {"type": "perf", "section": "Others"}, {"type": "test", "section": "Test"} ], - "commitUrlFormat": "https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/{{hash}}", - "compareUrlFormat": "https://github.com/ulisesGascon/openssf-scorecard-monitor/compare/{{previousTag}}...{{currentTag}}" + "commitUrlFormat": "https://github.com/ossf/scorecard-monitor/commits/{{hash}}", + "compareUrlFormat": "https://github.com/ossf/scorecard-monitor/compare/{{previousTag}}...{{currentTag}}" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index f2b55cf..d75404a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,68 +2,68 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. -### [1.0.1](https://github.com/ulisesGascon/openssf-scorecard-monitor/compare/v1.0.0...v1.0.1) (2023-02-15) +### [1.0.1](https://github.com/ossf/scorecard-monitor/compare/v1.0.0...v1.0.1) (2023-02-15) ### Other -* added github action branding ([831364a](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/831364aaf4654af1bbc4747fcbc414539b9d7a74)) +* added github action branding ([831364a](https://github.com/ossf/scorecard-monitor/commits/831364aaf4654af1bbc4747fcbc414539b9d7a74)) ## 1.0.0 (2023-02-15) ### Features -* added basic github action definition ([f98ce7c](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/f98ce7c0affd8559f37e5fbf2f9a2c3e30242eca)) -* added basic utilities ([cf3fdb1](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/cf3fdb12bd1d8fcdd387d1a9c8a73fc20dcb1c50)) -* added commit changes capability ([6a82bda](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/6a82bda3f82787caf58e6ca3cd65002943b36484)) -* added default settings ([1382939](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/138293900da4c9b7b9ee9ed7158df420c218e243)) -* added dependency vercel/ncc ([6daf8c8](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/6daf8c85e37e89833cc388cfa525658056bc4e12)) -* added Ejs as dependency ([ddb8091](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/ddb8091243ae905f3e57374de72a7374d5cf00b2)) -* added empty config file ([0ab5133](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/0ab51330c188a6e2e19e8c1705f95e8ec6a9b357)) -* added empty db file ([5d9e236](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/5d9e236327ddc4fe9a9819e3280d9738010f14d8)) -* added github action core logic ([324614d](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/324614d184fbbf02b034825cf46fb413b8318cfd)) -* added issue template ([71f9bbb](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/71f9bbb2901d471c8014495a7e8b885d97ac23f7)) -* added markdown reporting ([c38a0d8](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/c38a0d85806d24f82713a94cd7119308d53cef14)) -* added max resquest in settings ([868c4b8](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/868c4b86e575e9d4d1356ca9b5a6359b2e03f92a)) -* added notification settings ([2e008f5](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/2e008f5e50724b414c6b6c2a71dd58fcb10ad0cd)) -* added octokit/rest library ([f7eacf0](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/f7eacf08cba8034723fd539d90a674de36c250a6)) -* extended inputs ([1e80345](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/1e80345be1777b7db25952af3d1081af93141a03)) -* simplified legacy code ([eb024ed](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/eb024ed84e505433bb89098c65140e43b5784e7c)) -* WIP core logic ([939ebba](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/939ebba0c1d773237366620cefd77e2a54afff09)) +* added basic github action definition ([f98ce7c](https://github.com/ossf/scorecard-monitor/commits/f98ce7c0affd8559f37e5fbf2f9a2c3e30242eca)) +* added basic utilities ([cf3fdb1](https://github.com/ossf/scorecard-monitor/commits/cf3fdb12bd1d8fcdd387d1a9c8a73fc20dcb1c50)) +* added commit changes capability ([6a82bda](https://github.com/ossf/scorecard-monitor/commits/6a82bda3f82787caf58e6ca3cd65002943b36484)) +* added default settings ([1382939](https://github.com/ossf/scorecard-monitor/commits/138293900da4c9b7b9ee9ed7158df420c218e243)) +* added dependency vercel/ncc ([6daf8c8](https://github.com/ossf/scorecard-monitor/commits/6daf8c85e37e89833cc388cfa525658056bc4e12)) +* added Ejs as dependency ([ddb8091](https://github.com/ossf/scorecard-monitor/commits/ddb8091243ae905f3e57374de72a7374d5cf00b2)) +* added empty config file ([0ab5133](https://github.com/ossf/scorecard-monitor/commits/0ab51330c188a6e2e19e8c1705f95e8ec6a9b357)) +* added empty db file ([5d9e236](https://github.com/ossf/scorecard-monitor/commits/5d9e236327ddc4fe9a9819e3280d9738010f14d8)) +* added github action core logic ([324614d](https://github.com/ossf/scorecard-monitor/commits/324614d184fbbf02b034825cf46fb413b8318cfd)) +* added issue template ([71f9bbb](https://github.com/ossf/scorecard-monitor/commits/71f9bbb2901d471c8014495a7e8b885d97ac23f7)) +* added markdown reporting ([c38a0d8](https://github.com/ossf/scorecard-monitor/commits/c38a0d85806d24f82713a94cd7119308d53cef14)) +* added max resquest in settings ([868c4b8](https://github.com/ossf/scorecard-monitor/commits/868c4b86e575e9d4d1356ca9b5a6359b2e03f92a)) +* added notification settings ([2e008f5](https://github.com/ossf/scorecard-monitor/commits/2e008f5e50724b414c6b6c2a71dd58fcb10ad0cd)) +* added octokit/rest library ([f7eacf0](https://github.com/ossf/scorecard-monitor/commits/f7eacf08cba8034723fd539d90a674de36c250a6)) +* extended inputs ([1e80345](https://github.com/ossf/scorecard-monitor/commits/1e80345be1777b7db25952af3d1081af93141a03)) +* simplified legacy code ([eb024ed](https://github.com/ossf/scorecard-monitor/commits/eb024ed84e505433bb89098c65140e43b5784e7c)) +* WIP core logic ([939ebba](https://github.com/ossf/scorecard-monitor/commits/939ebba0c1d773237366620cefd77e2a54afff09)) ### Bug Fixes -* minor bugs ([#4](https://github.com/UlisesGascon/openssf-scorecard-monitor/issues/4)) ([e07d7f7](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/e07d7f7dd38efa5caaf64d0c548752f2ae54ed45)) +* minor bugs ([#4](https://github.com/ossf/scorecard-monitor/issues/4)) ([e07d7f7](https://github.com/ossf/scorecard-monitor/commits/e07d7f7dd38efa5caaf64d0c548752f2ae54ed45)) ### Other -* added actions dependencies ([42029e2](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/42029e2788dfae7ad0b2ffd9011b085d46b10416)) -* added basic documentation ([ca9d057](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/ca9d0574a6189c0244abc2fa1951f2f3fb0ca265)) -* added build step ([edfbc40](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/edfbc40e1c79bb3317e54f3b1265d762df1bf248)) -* added CI pipeline ([14cc3ef](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/14cc3ef72671b56fc196639319ef1727af7b5f8b)) -* added dependency ([84bf461](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/84bf4617d82095b9c11b58ed528cd0e1b19679d7)) -* added dev dependencies ([61fb9df](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/61fb9dfdb9f58ec422c917c0fe7be82cea8cbed7)) -* added dist folder ([b51795a](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/b51795a3eb45c7ed30854d42c0f71baf2e800f98)) -* added extra references ([a04f4d0](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/a04f4d0b7d3acdee274d9dc7f7eb7ba9cdd728b4)) -* added husky git hooks ([cf56817](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/cf568176151265c092051ce11de5fdbbeaa822ee)) -* added initial file ([7ef1880](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/7ef18801e6ef662e8b345bcf1afb7272843eec93)) -* added linting ([b1ba183](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/b1ba1837c9b79d133cd8eae18779eb95706b4bb1)) -* added nodejs engine specs ([fc35159](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/fc351595aeb23903ea54406d91f8c41b0d1601c8)) -* added test support ([60c3763](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/60c3763c9e9ce21708e0345e941536e5b94a24d0)) -* avoid npm publication ([33aca47](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/33aca4797de7acb581b37ae3885e64ca33d7dadd)) -* dist added ([afcf7a1](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/afcf7a1898698eb4aa5be176dbffb58cd92c68cb)) -* downgrade to got v11 ([47fa4da](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/47fa4dab2892369999a824dfde018361942efbcd)) -* downgrade to Node v16 ([006443a](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/006443a765e291856bce17e6def903a22d26f7d9)) -* extended releases config ([3ca4134](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/3ca4134c7682bc12cb95b0fe7c698caf16514af2)) -* extended releases config ([0668780](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/06687803ea166c19c13a2cfe9259ba4d051943d0)) -* ignored dist folder for linting ([28e8390](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/28e83905706f9a0de7b11655a0e5fbf9271d98e2)) -* improved documentation ([22bd265](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/22bd265c0374c79d8334d36f9be5ee88b744439c)) -* linting ([a166a68](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/a166a682889bcc757ff6ab9f330eae3c8b546132)) -* linting ([e889af3](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/e889af3c39fdf3cc3c8d74819442ea043d6a4291)) -* linting ([ed33e9a](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/ed33e9afe096a156e9e7ff9580c037f945b1d613)) -* npm initialization ([fb2613b](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/fb2613b272128f4151ea8eb57f2b3aa310df514b)) -* removed md extension from template location ([7be296d](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/7be296d134fc436c9c2b151149ce4a6a58483570)) -* removed reference files ([918708a](https://github.com/ulisesGascon/openssf-scorecard-monitor/commits/918708a98feff0054ad7d68f17ae534a8cb354bd)) +* added actions dependencies ([42029e2](https://github.com/ossf/scorecard-monitor/commits/42029e2788dfae7ad0b2ffd9011b085d46b10416)) +* added basic documentation ([ca9d057](https://github.com/ossf/scorecard-monitor/commits/ca9d0574a6189c0244abc2fa1951f2f3fb0ca265)) +* added build step ([edfbc40](https://github.com/ossf/scorecard-monitor/commits/edfbc40e1c79bb3317e54f3b1265d762df1bf248)) +* added CI pipeline ([14cc3ef](https://github.com/ossf/scorecard-monitor/commits/14cc3ef72671b56fc196639319ef1727af7b5f8b)) +* added dependency ([84bf461](https://github.com/ossf/scorecard-monitor/commits/84bf4617d82095b9c11b58ed528cd0e1b19679d7)) +* added dev dependencies ([61fb9df](https://github.com/ossf/scorecard-monitor/commits/61fb9dfdb9f58ec422c917c0fe7be82cea8cbed7)) +* added dist folder ([b51795a](https://github.com/ossf/scorecard-monitor/commits/b51795a3eb45c7ed30854d42c0f71baf2e800f98)) +* added extra references ([a04f4d0](https://github.com/ossf/scorecard-monitor/commits/a04f4d0b7d3acdee274d9dc7f7eb7ba9cdd728b4)) +* added husky git hooks ([cf56817](https://github.com/ossf/scorecard-monitor/commits/cf568176151265c092051ce11de5fdbbeaa822ee)) +* added initial file ([7ef1880](https://github.com/ossf/scorecard-monitor/commits/7ef18801e6ef662e8b345bcf1afb7272843eec93)) +* added linting ([b1ba183](https://github.com/ossf/scorecard-monitor/commits/b1ba1837c9b79d133cd8eae18779eb95706b4bb1)) +* added nodejs engine specs ([fc35159](https://github.com/ossf/scorecard-monitor/commits/fc351595aeb23903ea54406d91f8c41b0d1601c8)) +* added test support ([60c3763](https://github.com/ossf/scorecard-monitor/commits/60c3763c9e9ce21708e0345e941536e5b94a24d0)) +* avoid npm publication ([33aca47](https://github.com/ossf/scorecard-monitor/commits/33aca4797de7acb581b37ae3885e64ca33d7dadd)) +* dist added ([afcf7a1](https://github.com/ossf/scorecard-monitor/commits/afcf7a1898698eb4aa5be176dbffb58cd92c68cb)) +* downgrade to got v11 ([47fa4da](https://github.com/ossf/scorecard-monitor/commits/47fa4dab2892369999a824dfde018361942efbcd)) +* downgrade to Node v16 ([006443a](https://github.com/ossf/scorecard-monitor/commits/006443a765e291856bce17e6def903a22d26f7d9)) +* extended releases config ([3ca4134](https://github.com/ossf/scorecard-monitor/commits/3ca4134c7682bc12cb95b0fe7c698caf16514af2)) +* extended releases config ([0668780](https://github.com/ossf/scorecard-monitor/commits/06687803ea166c19c13a2cfe9259ba4d051943d0)) +* ignored dist folder for linting ([28e8390](https://github.com/ossf/scorecard-monitor/commits/28e83905706f9a0de7b11655a0e5fbf9271d98e2)) +* improved documentation ([22bd265](https://github.com/ossf/scorecard-monitor/commits/22bd265c0374c79d8334d36f9be5ee88b744439c)) +* linting ([a166a68](https://github.com/ossf/scorecard-monitor/commits/a166a682889bcc757ff6ab9f330eae3c8b546132)) +* linting ([e889af3](https://github.com/ossf/scorecard-monitor/commits/e889af3c39fdf3cc3c8d74819442ea043d6a4291)) +* linting ([ed33e9a](https://github.com/ossf/scorecard-monitor/commits/ed33e9afe096a156e9e7ff9580c037f945b1d613)) +* npm initialization ([fb2613b](https://github.com/ossf/scorecard-monitor/commits/fb2613b272128f4151ea8eb57f2b3aa310df514b)) +* removed md extension from template location ([7be296d](https://github.com/ossf/scorecard-monitor/commits/7be296d134fc436c9c2b151149ce4a6a58483570)) +* removed reference files ([918708a](https://github.com/ossf/scorecard-monitor/commits/918708a98feff0054ad7d68f17ae534a8cb354bd)) diff --git a/README.md b/README.md index 86ecdab..48edd17 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ _[Sample issue](https://github.com/nodejs/security-wg/issues/885)_ - [Nodejs](https://github.com/nodejs): The Node.js Ecosystem Security Working Group is using [this pipeline](https://github.com/nodejs/security-wg/blob/main/.github/workflows/ossf-scorecard-reporting.yml) to generate a [report](https://github.com/nodejs/security-wg/blob/main/tools/ossf_scorecard/report.md) with scores for all the repositories in the Node.js org. - [One Beyond](https://github.com/onebeyond): The Maintainers are using [this pipeline](https://github.com/onebeyond/maintainers/blob/main/.github/workflows/security-scoring.yml) to generate a scoring report inside [a specific document][onebeyond-report], in order to generate a [web version](https://onebeyond-maintainers.netlify.app/reporting/ossf-scorecard) of it - [NodeSecure](https://github.com/NodeSecure): The Maintainers are using [this pipeline](https://github.com/NodeSecure/Governance/blob/main/.github/workflows/ossf-scorecard-reporting.yml) to generate a scoring report and notification issues. -- **[More users](https://github.com/UlisesGascon/openssf-scorecard-monitor/network/dependents)** +- **[More users](https://github.com/ossf/scorecard-monitor/network/dependents)** [onebeyond-report]: https://github.com/onebeyond/maintainers/blob/main/docs/06-reporting/01-scorecard.md @@ -95,7 +95,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: OpenSSF Scorecard Monitor - uses: UlisesGascon/openssf-scorecard-monitor@v2.0.0-beta7 + uses: ossf/scorecard-monitor@v2.0.0-beta7 with: scope: reporting/scope.json database: reporting/database.json @@ -149,7 +149,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: OpenSSF Scorecard Monitor - uses: UlisesGascon/openssf-scorecard-monitor@v2.0.0-beta7 + uses: ossf/scorecard-monitor@v2.0.0-beta7 id: openssf-scorecard-monitor with: # .... @@ -181,7 +181,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: OpenSSF Scorecard Monitor - uses: UlisesGascon/openssf-scorecard-monitor@v2.0.0-beta7 + uses: ossf/scorecard-monitor@v2.0.0-beta7 id: openssf-scorecard-monitor with: auto-commit: false diff --git a/__tests__/__snapshots__/utils.test.js.snap b/__tests__/__snapshots__/utils.test.js.snap index 3c90e4c..4347070 100644 --- a/__tests__/__snapshots__/utils.test.js.snap +++ b/__tests__/__snapshots__/utils.test.js.snap @@ -9,7 +9,7 @@ exports[`Utils generateReportContent Should render template with deps.dev as ren | -- | -- | -- | -- | -- | -- | -- | | [fake-org/fake-repo](https://github.com/fake-org/fake-repo) | [846b3dd](https://github.com/fake-org/fake-repo/commit/846b3ddb5f75d95235e94d9eb52e920f4a067338) | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/fake-org/fake-repo/badge)](https://api.securityscorecards.dev/projects/github.com/fake-org/fake-repo) | 2023-02-20 | 5 / [Details](https://deps.dev/project/github/fake-org%2Ffake-repo) | [View](https://deps.dev/project/github/fake-org%2Ffake-repo) | [Fix it](https://app.stepsecurity.io/securerepo?repo=fake-org/fake-repo) | -_Report generated by [UlisesGascon/openssf-scorecard-monitor](https://github.com/UlisesGascon/openssf-scorecard-monitor)._" +_Report generated by [ossf/scorecard-monitor](https://github.com/ossf/scorecard-monitor)._" `; exports[`Utils generateReportContent Should render template with scorecard-visualizer as renderTool 1`] = ` @@ -21,7 +21,7 @@ exports[`Utils generateReportContent Should render template with scorecard-visua | -- | -- | -- | -- | -- | -- | -- | | [fake-org/fake-repo](https://github.com/fake-org/fake-repo) | [846b3dd](https://github.com/fake-org/fake-repo/commit/846b3ddb5f75d95235e94d9eb52e920f4a067338) | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/fake-org/fake-repo/badge)](https://api.securityscorecards.dev/projects/github.com/fake-org/fake-repo) | 2023-02-20 | 5 / [Details](https://kooltheba.github.io/openssf-scorecard-api-visualizer/#/projects/github.com/fake-org/fake-repo/compare/39a08ee8b8d3818677eb823cb566f36b1b1c4671/846b3ddb5f75d95235e94d9eb52e920f4a067338) | [View](https://kooltheba.github.io/openssf-scorecard-api-visualizer/#/projects/github.com/fake-org/fake-repo/commit/846b3ddb5f75d95235e94d9eb52e920f4a067338) | [Fix it](https://app.stepsecurity.io/securerepo?repo=fake-org/fake-repo) | -_Report generated by [UlisesGascon/openssf-scorecard-monitor](https://github.com/UlisesGascon/openssf-scorecard-monitor)._" +_Report generated by [ossf/scorecard-monitor](https://github.com/ossf/scorecard-monitor)._" `; exports[`Utils generateReportContent Should render template with scores and title 1`] = ` @@ -33,7 +33,7 @@ exports[`Utils generateReportContent Should render template with scores and titl | -- | -- | -- | -- | -- | -- | -- | | [fake-org/fake-repo](https://github.com/fake-org/fake-repo) | [846b3dd](https://github.com/fake-org/fake-repo/commit/846b3ddb5f75d95235e94d9eb52e920f4a067338) | 10 | 2023-02-20 | 5 / [Details](https://kooltheba.github.io/openssf-scorecard-api-visualizer/#/projects/github.com/fake-org/fake-repo/compare/39a08ee8b8d3818677eb823cb566f36b1b1c4671/846b3ddb5f75d95235e94d9eb52e920f4a067338) | [View](https://kooltheba.github.io/openssf-scorecard-api-visualizer/#/projects/github.com/fake-org/fake-repo/commit/846b3ddb5f75d95235e94d9eb52e920f4a067338) | [Fix it](https://app.stepsecurity.io/securerepo?repo=fake-org/fake-repo) | -_Report generated by [UlisesGascon/openssf-scorecard-monitor](https://github.com/UlisesGascon/openssf-scorecard-monitor)._" +_Report generated by [ossf/scorecard-monitor](https://github.com/ossf/scorecard-monitor)._" `; exports[`Utils generateReportContent Should render template with scores only 1`] = ` @@ -45,7 +45,7 @@ exports[`Utils generateReportContent Should render template with scores only 1`] | -- | -- | -- | -- | -- | -- | -- | | [fake-org/fake-repo](https://github.com/fake-org/fake-repo) | [846b3dd](https://github.com/fake-org/fake-repo/commit/846b3ddb5f75d95235e94d9eb52e920f4a067338) | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/fake-org/fake-repo/badge)](https://api.securityscorecards.dev/projects/github.com/fake-org/fake-repo) | 2023-02-20 | 5 / [Details](https://kooltheba.github.io/openssf-scorecard-api-visualizer/#/projects/github.com/fake-org/fake-repo/compare/39a08ee8b8d3818677eb823cb566f36b1b1c4671/846b3ddb5f75d95235e94d9eb52e920f4a067338) | [View](https://kooltheba.github.io/openssf-scorecard-api-visualizer/#/projects/github.com/fake-org/fake-repo/commit/846b3ddb5f75d95235e94d9eb52e920f4a067338) | [Fix it](https://app.stepsecurity.io/securerepo?repo=fake-org/fake-repo) | -_Report generated by [UlisesGascon/openssf-scorecard-monitor](https://github.com/UlisesGascon/openssf-scorecard-monitor)._" +_Report generated by [ossf/scorecard-monitor](https://github.com/ossf/scorecard-monitor)._" `; exports[`Utils generateReportContent Should render template with title only 1`] = ` @@ -54,5 +54,5 @@ exports[`Utils generateReportContent Should render template with title only 1`] ## Summary -_Report generated by [UlisesGascon/openssf-scorecard-monitor](https://github.com/UlisesGascon/openssf-scorecard-monitor)._" +_Report generated by [ossf/scorecard-monitor](https://github.com/ossf/scorecard-monitor)._" `; diff --git a/package-lock.json b/package-lock.json index 17ec7e0..eb36a08 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,6 @@ "": { "name": "openssf-scorecard-monitor", "version": "2.0.0-beta7", - "license": "MIT", "dependencies": { "@actions/core": "1.10.1", "@actions/exec": "1.1.1", diff --git a/package.json b/package.json index 3fea93f..4d8933a 100644 --- a/package.json +++ b/package.json @@ -27,18 +27,17 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/UlisesGascon/openssf-scorecard-monitor.git" + "url": "git+https://github.com/ossf/scorecard-monitor" }, "keywords": [ "openssf-scorecard", "maintainers" ], "author": "Ulises Gascon", - "license": "MIT", "bugs": { - "url": "https://github.com/UlisesGascon/openssf-scorecard-monitor/issues" + "url": "https://github.com/ossf/scorecard-monitor" }, - "homepage": "https://github.com/UlisesGascon/openssf-scorecard-monitor#readme", + "homepage": "https://github.com/ossf/scorecard-monitor", "dependencies": { "@actions/core": "1.10.1", "@actions/exec": "1.1.1", diff --git a/templates/issue.ejs b/templates/issue.ejs index 27a436a..d467201 100644 --- a/templates/issue.ejs +++ b/templates/issue.ejs @@ -16,4 +16,4 @@ There are changes in the following repositories: | [<%= score.org %>/<%= score.repo %>](https://<%= score.platform %>/<%= score.org %>/<%= score.repo %>) | [<%= score.commit.slice(0, 7) %>](https://<%= score.platform %>/<%= score.org %>/<%= score.repo %>/commit/<%= score.commit %>) | <% if (!renderBadge) { -%><%= score.score %> <%_ } -%> <%_ if (renderBadge) { -%> [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/<%= score.org %>/<%= score.repo %>/badge)](https://api.securityscorecards.dev/projects/github.com/<%= score.org %>/<%= score.repo %>) <%_ } -%> | <%= score.currentDiff || 0 %><%_ if (score.prevCommit) { -%> / [Details](<%= getReportUrl(score.org, score.repo, score.commit, score.prevCommit) %>)<%_ } -%> | [View](<%= getReportUrl(score.org, score.repo, score.commit) %>) | [Fix it](https://app.stepsecurity.io/securerepo?repo=<%= score.org %>/<%= score.repo %>) | <%_ }); -%> -_Report generated by [UlisesGascon/openssf-scorecard-monitor](https://github.com/UlisesGascon/openssf-scorecard-monitor)._ \ No newline at end of file +_Report generated by [ossf/scorecard-monitor.com/ossf/scorecard-mossf/scorecard-monitor \ No newline at end of file diff --git a/templates/report.ejs b/templates/report.ejs index af68fd8..30b00fa 100644 --- a/templates/report.ejs +++ b/templates/report.ejs @@ -12,4 +12,4 @@ | [<%= score.org %>/<%= score.repo %>](https://<%= score.platform %>/<%= score.org %>/<%= score.repo %>) | [<%= score.commit.slice(0, 7) %>](https://<%= score.platform %>/<%= score.org %>/<%= score.repo %>/commit/<%= score.commit %>) | <% if (!renderBadge) { -%><%= score.score %> <%_ } -%><% if (renderBadge) { -%> [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/<%= score.org %>/<%= score.repo %>/badge)](https://api.securityscorecards.dev/projects/github.com/<%= score.org %>/<%= score.repo %>) <%_ } -%> | <%= score.date %> | <%= score.currentDiff || 0 %> <%_ if (score.prevCommit) { -%> / [Details](<%= getReportUrl(score.org, score.repo, score.commit, score.prevCommit) %>)<%_ } -%> | [View](<%= getReportUrl(score.org, score.repo, score.commit) %>) | [Fix it](https://app.stepsecurity.io/securerepo?repo=<%= score.org %>/<%= score.repo %>) | <%_ }); -%> -_Report generated by [UlisesGascon/openssf-scorecard-monitor](https://github.com/UlisesGascon/openssf-scorecard-monitor)._ \ No newline at end of file +_Report generated by [ossf/scorecard-monitor](https://github.com/ossf/scorecard-monitor)._ \ No newline at end of file