From 22a1fdc20057d0cb0d43b1db81df90125f9319f6 Mon Sep 17 00:00:00 2001 From: Makotogew Date: Tue, 26 Nov 2024 20:48:45 +0000 Subject: [PATCH 01/42] h --- .github/workflows/validate-schema.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/validate-schema.yml b/.github/workflows/validate-schema.yml index 6545dee93b..c0ea995584 100644 --- a/.github/workflows/validate-schema.yml +++ b/.github/workflows/validate-schema.yml @@ -6,8 +6,7 @@ on: pull_request: types: [opened, synchronize, reopened] workflow_dispatch: - branches: - - master + branches - master env: CVE_SCHEMA_DIR: schema CVE_SCHEMA_FILENAME: CVE_Record_Format.json From 431d8e91445c4a5b3df71f9e7d3da767c4f21500 Mon Sep 17 00:00:00 2001 From: Makotogew Date: Mon, 2 Dec 2024 20:17:41 +0700 Subject: [PATCH 02/42] Update cna-assignment-info-to-json.pl --- tools/cna-assignment-info-to-json.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cna-assignment-info-to-json.pl b/tools/cna-assignment-info-to-json.pl index 5ebb08bb85..0960bf7370 100755 --- a/tools/cna-assignment-info-to-json.pl +++ b/tools/cna-assignment-info-to-json.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#/usr/bin/perl -w # # Convert CNA assignment information in CSV or flat file format to JSON. # From bc0ff114e84f6ba3cef632291bd33fe7c248d554 Mon Sep 17 00:00:00 2001 From: Makotogew Date: Mon, 2 Dec 2024 20:18:08 +0700 Subject: [PATCH 03/42] Update cna-assignment-info-to-json.pl --- tools/cna-assignment-info-to-json.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cna-assignment-info-to-json.pl b/tools/cna-assignment-info-to-json.pl index 0960bf7370..2b58069d9c 100755 --- a/tools/cna-assignment-info-to-json.pl +++ b/tools/cna-assignment-info-to-json.pl @@ -1,4 +1,4 @@ -#/usr/bin/perl -w +#!usr/bin/perl -w # # Convert CNA assignment information in CSV or flat file format to JSON. # From 2c8699eb1b6f62aa6a69f0945950de14a5352a52 Mon Sep 17 00:00:00 2001 From: Makotogew Date: Mon, 2 Dec 2024 20:20:31 +0700 Subject: [PATCH 04/42] Update validate-schema.yml --- .github/workflows/validate-schema.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/validate-schema.yml b/.github/workflows/validate-schema.yml index c0ea995584..18a261b356 100644 --- a/.github/workflows/validate-schema.yml +++ b/.github/workflows/validate-schema.yml @@ -1,4 +1,5 @@ -name: Validate JSON Schemas +name: +Validate JSON Schemas on: push: branches: From c56df4a47c7e774df8dea1de646735c3672f35ba Mon Sep 17 00:00:00 2001 From: Makotogew Date: Mon, 2 Dec 2024 21:37:52 +0700 Subject: [PATCH 05/42] Update validate-schema.yml --- .github/workflows/validate-schema.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-schema.yml b/.github/workflows/validate-schema.yml index 18a261b356..0fbcb0cd3d 100644 --- a/.github/workflows/validate-schema.yml +++ b/.github/workflows/validate-schema.yml @@ -1,4 +1,4 @@ -name: +name: Install Validate JSON Schemas on: push: From dd3bf632a362362e04c25bb6ca6ba34f3c7862db Mon Sep 17 00:00:00 2001 From: Makotogew Date: Tue, 3 Dec 2024 16:34:01 +0700 Subject: [PATCH 06/42] Update validate-schema.yml --- .github/workflows/validate-schema.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-schema.yml b/.github/workflows/validate-schema.yml index 0fbcb0cd3d..b41fc3f09a 100644 --- a/.github/workflows/validate-schema.yml +++ b/.github/workflows/validate-schema.yml @@ -1,4 +1,4 @@ -name: Install +name: Validate JSON Schemas on: push: From ce4b3cfb4819e7caeacc60aba5e5a4c2cad8d365 Mon Sep 17 00:00:00 2001 From: Makotogew Date: Tue, 3 Dec 2024 16:40:02 +0700 Subject: [PATCH 07/42] Update validate-schema.yml --- .github/workflows/validate-schema.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-schema.yml b/.github/workflows/validate-schema.yml index b41fc3f09a..55b70a103c 100644 --- a/.github/workflows/validate-schema.yml +++ b/.github/workflows/validate-schema.yml @@ -1,4 +1,4 @@ -name: +name: rws-submissions-checks.yml Validate JSON Schemas on: push: From e7fd556004024d207ffd64c2c2ab159e860e2f44 Mon Sep 17 00:00:00 2001 From: Makotogew Date: Wed, 4 Dec 2024 20:02:54 +0700 Subject: [PATCH 08/42] Update validate-schema.yml --- .github/workflows/validate-schema.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-schema.yml b/.github/workflows/validate-schema.yml index 55b70a103c..9e070dade0 100644 --- a/.github/workflows/validate-schema.yml +++ b/.github/workflows/validate-schema.yml @@ -1,4 +1,4 @@ -name: rws-submissions-checks.yml +name: Setup Node.js environment Validate JSON Schemas on: push: From b1bda9e7cb37201266573dcd9f1f193618155a82 Mon Sep 17 00:00:00 2001 From: Makotogew Date: Wed, 4 Dec 2024 20:11:49 +0700 Subject: [PATCH 09/42] Update validate-schema.yml From 003af5ea516da7002af70066e1757527a5840dc8 Mon Sep 17 00:00:00 2001 From: Makotogew Date: Wed, 4 Dec 2024 20:13:00 +0700 Subject: [PATCH 10/42] Update validate-schema.yml --- .github/workflows/validate-schema.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-schema.yml b/.github/workflows/validate-schema.yml index 9e070dade0..aad2a2659c 100644 --- a/.github/workflows/validate-schema.yml +++ b/.github/workflows/validate-schema.yml @@ -1,4 +1,4 @@ -name: Setup Node.js environment +name: actions/cache@v4.1.2 Validate JSON Schemas on: push: From cb5dd874cd05bd79316166466bb91c19b21a8902 Mon Sep 17 00:00:00 2001 From: Makotogew Date: Wed, 4 Dec 2024 20:24:05 +0700 Subject: [PATCH 11/42] Update validate-schema.yml --- .github/workflows/validate-schema.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-schema.yml b/.github/workflows/validate-schema.yml index aad2a2659c..18a261b356 100644 --- a/.github/workflows/validate-schema.yml +++ b/.github/workflows/validate-schema.yml @@ -1,4 +1,4 @@ -name: actions/cache@v4.1.2 +name: Validate JSON Schemas on: push: From d2ac51c2c4079f3e110a2e52a3138aa128563f54 Mon Sep 17 00:00:00 2001 From: Makotogew Date: Wed, 4 Dec 2024 20:24:59 +0700 Subject: [PATCH 12/42] Update validate-schema.yml --- .github/workflows/validate-schema.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-schema.yml b/.github/workflows/validate-schema.yml index 18a261b356..ec23a00006 100644 --- a/.github/workflows/validate-schema.yml +++ b/.github/workflows/validate-schema.yml @@ -1,4 +1,4 @@ -name: +name: Upload a Build Artifact Validate JSON Schemas on: push: From f2e62bfa068fa81b676d8720b6f29893839ccab5 Mon Sep 17 00:00:00 2001 From: Makotogew Date: Wed, 4 Dec 2024 20:25:40 +0700 Subject: [PATCH 13/42] Update validate-schema.yml --- .github/workflows/validate-schema.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-schema.yml b/.github/workflows/validate-schema.yml index ec23a00006..860935fd09 100644 --- a/.github/workflows/validate-schema.yml +++ b/.github/workflows/validate-schema.yml @@ -1,4 +1,4 @@ -name: Upload a Build Artifact +name: Update validate-schema.yml Validate JSON Schemas on: push: From 15110f20912f4be354a1b6f09c285ef33d7739a3 Mon Sep 17 00:00:00 2001 From: Makotogew Date: Tue, 10 Dec 2024 02:19:41 +0700 Subject: [PATCH 14/42] Revert "Update cna-assignment-info-to-json.pl" --- tools/cna-assignment-info-to-json.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cna-assignment-info-to-json.pl b/tools/cna-assignment-info-to-json.pl index 2b58069d9c..0960bf7370 100755 --- a/tools/cna-assignment-info-to-json.pl +++ b/tools/cna-assignment-info-to-json.pl @@ -1,4 +1,4 @@ -#!usr/bin/perl -w +#/usr/bin/perl -w # # Convert CNA assignment information in CSV or flat file format to JSON. # From e0551a464e49cb8464519bb136d28cb29d1ef400 Mon Sep 17 00:00:00 2001 From: Makotogew Date: Tue, 10 Dec 2024 13:23:58 +0700 Subject: [PATCH 15/42] Update validate-schema.yml --- .github/workflows/validate-schema.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-schema.yml b/.github/workflows/validate-schema.yml index 860935fd09..d82ed52417 100644 --- a/.github/workflows/validate-schema.yml +++ b/.github/workflows/validate-schema.yml @@ -1,5 +1,5 @@ name: Update validate-schema.yml -Validate JSON Schemas +Validate JSON Schemas on: push: branches: From 1756ee987412f60321fad92edd5fd4eba9cf471c Mon Sep 17 00:00:00 2001 From: Makotogew Date: Tue, 10 Dec 2024 13:24:41 +0700 Subject: [PATCH 16/42] Update validate-schema.yml --- .github/workflows/validate-schema.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-schema.yml b/.github/workflows/validate-schema.yml index d82ed52417..0291fc037c 100644 --- a/.github/workflows/validate-schema.yml +++ b/.github/workflows/validate-schema.yml @@ -1,6 +1,6 @@ name: Update validate-schema.yml Validate JSON Schemas -on: +on: push: branches: - master From e36cb4626d78c2ac85eff5b7ee1ea39398264ca6 Mon Sep 17 00:00:00 2001 From: Makotogew Date: Tue, 10 Dec 2024 13:27:57 +0700 Subject: [PATCH 17/42] Update cna-assignment-info-to-json.pl --- tools/cna-assignment-info-to-json.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cna-assignment-info-to-json.pl b/tools/cna-assignment-info-to-json.pl index 0960bf7370..7c717da70f 100755 --- a/tools/cna-assignment-info-to-json.pl +++ b/tools/cna-assignment-info-to-json.pl @@ -7,7 +7,7 @@ ###################################################################### use strict; -use Getopt::Long; +use Getopt::Long; use JSON::XS; use Text::CSV_XS; From ae3ed144bb01053c45f63945638e347e617de61c Mon Sep 17 00:00:00 2001 From: Makotogew Date: Tue, 10 Dec 2024 13:43:13 +0700 Subject: [PATCH 18/42] Update cmdlinejsonvalidator.py --- tools/cmdlinejsonvalidator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cmdlinejsonvalidator.py b/tools/cmdlinejsonvalidator.py index 81855c3a0b..b2e49a15d7 100644 --- a/tools/cmdlinejsonvalidator.py +++ b/tools/cmdlinejsonvalidator.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -################################################################################### +################################################################################### ###################### Python Script to validate JSON file ######################## ################################################################################### From 3abf156b6edad32bc67ab2449956718b2117076c Mon Sep 17 00:00:00 2001 From: Makotogew Date: Thu, 12 Dec 2024 23:26:23 +0700 Subject: [PATCH 19/42] Update validate-schema.yml --- .github/workflows/validate-schema.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-schema.yml b/.github/workflows/validate-schema.yml index 0291fc037c..86267c9621 100644 --- a/.github/workflows/validate-schema.yml +++ b/.github/workflows/validate-schema.yml @@ -1,7 +1,7 @@ name: Update validate-schema.yml Validate JSON Schemas on: - push: + push: branches: - master pull_request: From 48a11e21d071df85b96feaf37431dd278c8b45ee Mon Sep 17 00:00:00 2001 From: Gew Date: Fri, 13 Dec 2024 00:06:23 +0700 Subject: [PATCH 20/42] Revert "Update cna-assignment-info-to-json.pl" From a76ea130ec18074942e0d3d53a2c3c0ae10abfcf Mon Sep 17 00:00:00 2001 From: Gew Date: Sat, 21 Dec 2024 16:41:44 +0700 Subject: [PATCH 21/42] Update CVE_Record_Format.json --- schema/CVE_Record_Format.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/CVE_Record_Format.json b/schema/CVE_Record_Format.json index f74450c32c..ea1ecf3e77 100644 --- a/schema/CVE_Record_Format.json +++ b/schema/CVE_Record_Format.json @@ -1,4 +1,4 @@ -{ +{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://cveproject.github.io/cve-schema/schema/CVE_Record_Format.json", "title": "CVE JSON record format", From 41ecc0218c372097b2c9ca4b88eb315f4bc61033 Mon Sep 17 00:00:00 2001 From: Gew Date: Sat, 21 Dec 2024 16:43:11 +0700 Subject: [PATCH 22/42] Update CVE_Record_Format.json --- schema/CVE_Record_Format.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/schema/CVE_Record_Format.json b/schema/CVE_Record_Format.json index ea1ecf3e77..0a6b25e6d5 100644 --- a/schema/CVE_Record_Format.json +++ b/schema/CVE_Record_Format.json @@ -1,3 +1,5 @@ + + { "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://cveproject.github.io/cve-schema/schema/CVE_Record_Format.json", From 58b9cd0a9ae4e7e532c40817bef759430a5a0ed8 Mon Sep 17 00:00:00 2001 From: Gew Date: Sat, 21 Dec 2024 16:48:47 +0700 Subject: [PATCH 23/42] Rename validate-schema.yml to validate-schema.yml From 9f34fcc9eed50c0a03ac23426af27d945d808d1d Mon Sep 17 00:00:00 2001 From: Gew Date: Sat, 21 Dec 2024 16:49:11 +0700 Subject: [PATCH 24/42] Rename validate-schema.yml to validate-schema.yml From c80e961ca4a59516875caa9f4156a2ee36b021aa Mon Sep 17 00:00:00 2001 From: Gew Date: Mon, 23 Dec 2024 03:37:49 +0700 Subject: [PATCH 25/42] Create Download Signed-off-by: Gew --- .github/workflows/Download | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/workflows/Download diff --git a/.github/workflows/Download b/.github/workflows/Download new file mode 100644 index 0000000000..37293e1db4 --- /dev/null +++ b/.github/workflows/Download @@ -0,0 +1 @@ +mkdir actions-runner && cd actions-runner From de538a521e2d02276d4f6a3ca730310b20bb5c01 Mon Sep 17 00:00:00 2001 From: Gew Date: Mon, 23 Dec 2024 03:39:16 +0700 Subject: [PATCH 26/42] Update and rename Download to Create a folder Signed-off-by: Gew --- .github/workflows/Create a folder | 8 ++++++++ .github/workflows/Download | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/Create a folder delete mode 100644 .github/workflows/Download diff --git a/.github/workflows/Create a folder b/.github/workflows/Create a folder new file mode 100644 index 0000000000..6bfe75549a --- /dev/null +++ b/.github/workflows/Create a folder @@ -0,0 +1,8 @@ +# Create a folder +$ mkdir actions-runner && cd actions-runner +# Download the latest runner package +$ curl -o actions-runner-linux-x64-2.321.0.tar.gz -L https://github.com/actions/runner/releases/download/v2.321.0/actions-runner-linux-x64-2.321.0.tar.gz +# Optional: Validate the hash +$ echo "ba46ba7ce3a4d7236b16fbe44419fb453bc08f866b24f04d549ec89f1722a29e actions-runner-linux-x64-2.321.0.tar.gz" | shasum -a 256 -c +# Extract the installer +$ tar xzf ./actions-runner-linux-x64-2.321.0.tar.gz diff --git a/.github/workflows/Download b/.github/workflows/Download deleted file mode 100644 index 37293e1db4..0000000000 --- a/.github/workflows/Download +++ /dev/null @@ -1 +0,0 @@ -mkdir actions-runner && cd actions-runner From efda3c7bb376c9c6f7221be3f0d3df4a37480c42 Mon Sep 17 00:00:00 2001 From: Gew Date: Mon, 23 Dec 2024 03:42:26 +0700 Subject: [PATCH 27/42] Rename Create a folder to Create a folder Signed-off-by: Gew From 567209d5a2316feb226bf618f030612c7d09b7a5 Mon Sep 17 00:00:00 2001 From: Gew Date: Mon, 23 Dec 2024 03:47:23 +0700 Subject: [PATCH 28/42] Create dependabot.yml Signed-off-by: Gew --- .github/dependabot.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000000..5990d9c64c --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "weekly" From 5badd2eefb0c730b5525ac5b81a47b4a2a87df3d Mon Sep 17 00:00:00 2001 From: Gew Date: Mon, 23 Dec 2024 03:49:01 +0700 Subject: [PATCH 29/42] Rename validate-schema.yml to validate-schema.yml Signed-off-by: Gew From 6b60c5842b562e67217ff0c92cb1a4059fcb2aad Mon Sep 17 00:00:00 2001 From: Gew Date: Mon, 23 Dec 2024 04:09:46 +0700 Subject: [PATCH 30/42] Update validate-schema.yml - name: Install Dependencies run: npm install Signed-off-by: Gew --- .github/workflows/validate-schema.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/validate-schema.yml b/.github/workflows/validate-schema.yml index 86267c9621..14724291f3 100644 --- a/.github/workflows/validate-schema.yml +++ b/.github/workflows/validate-schema.yml @@ -1,12 +1,12 @@ -name: Update validate-schema.yml +Name: Update Validate-Schema.yml Validate JSON Schemas -on: - push: - branches: - - master - pull_request: - types: [opened, synchronize, reopened] - workflow_dispatch: +On: + Push: + Branches: + - Master + Pull_Request: + Types: [Opened, Synchronize, Reopened] + Workflow_dispatch: branches - master env: CVE_SCHEMA_DIR: schema From 2ea4bfb779c9719e93ac90c378e3ada892249556 Mon Sep 17 00:00:00 2001 From: Gew Date: Mon, 23 Dec 2024 04:12:09 +0700 Subject: [PATCH 31/42] Update validate-schema.yml - name: Cache uses: actions/cache@v4.2.0 with: # A list of files, directories, and wildcard patterns to cache and restore path: # An explicit key for restoring and saving the cache key: # An ordered multiline string listing the prefix-matched keys, that are used for restoring stale cache if no cache hit occurred for key. Note `cache-hit` returns false in this case. restore-keys: # optional # The chunk size used to split up large files during upload, in bytes upload-chunk-size: # optional # An optional boolean when enabled, allows windows runners to save or restore caches that can be restored or saved respectively on other platforms enableCrossOsArchive: # optional, default is false # Fail the workflow if cache entry is not found fail-on-cache-miss: # optional, default is false # Check if a cache entry exists for the given input(s) (key, restore-keys) without downloading the cache lookup-only: # optional, default is false # Run the post step to save the cache even if another step before fails save-always: # optional, default is false Signed-off-by: Gew --- .github/workflows/validate-schema.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate-schema.yml b/.github/workflows/validate-schema.yml index 14724291f3..ddc71852c2 100644 --- a/.github/workflows/validate-schema.yml +++ b/.github/workflows/validate-schema.yml @@ -1,6 +1,6 @@ Name: Update Validate-Schema.yml -Validate JSON Schemas -On: +Validate JSON Schemas + On: Push: Branches: - Master From db71e969802d1b0d45d72f39de3dee5bb8228ba4 Mon Sep 17 00:00:00 2001 From: Gew Date: Sat, 28 Dec 2024 21:11:47 +0700 Subject: [PATCH 32/42] Update validate-schema.yml Signed-off-by: Gew --- .github/workflows/validate-schema.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-schema.yml b/.github/workflows/validate-schema.yml index ddc71852c2..0caaadd692 100644 --- a/.github/workflows/validate-schema.yml +++ b/.github/workflows/validate-schema.yml @@ -1,4 +1,4 @@ -Name: Update Validate-Schema.yml +Name: Update Validate-Schema.yml Validate JSON Schemas On: Push: From d2b99d1f98a0ac1a115d9bc0cb4e96b90c4f0be1 Mon Sep 17 00:00:00 2001 From: Gew Date: Sat, 28 Dec 2024 21:12:46 +0700 Subject: [PATCH 33/42] Update validate-schema.yml Signed-off-by: Gew --- .github/workflows/validate-schema.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate-schema.yml b/.github/workflows/validate-schema.yml index 0caaadd692..ddc71852c2 100644 --- a/.github/workflows/validate-schema.yml +++ b/.github/workflows/validate-schema.yml @@ -1,4 +1,4 @@ -Name: Update Validate-Schema.yml +Name: Update Validate-Schema.yml Validate JSON Schemas On: Push: From 0bfd944edbc18378d8bd36d2a7667f932fc9fe58 Mon Sep 17 00:00:00 2001 From: Gew Date: Sat, 28 Dec 2024 21:13:21 +0700 Subject: [PATCH 34/42] Create jekyll-docker.yml Signed-off-by: Gew --- .github/workflows/jekyll-docker.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/jekyll-docker.yml diff --git a/.github/workflows/jekyll-docker.yml b/.github/workflows/jekyll-docker.yml new file mode 100644 index 0000000000..3d0eedb4ce --- /dev/null +++ b/.github/workflows/jekyll-docker.yml @@ -0,0 +1,20 @@ +name: Jekyll site CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Build the site in the jekyll/builder container + run: | + docker run \ + -v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \ + jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future" From 5f07317751c738af12d62e25ce5b005ddde7849d Mon Sep 17 00:00:00 2001 From: Gew Date: Thu, 2 Jan 2025 20:29:14 +0700 Subject: [PATCH 35/42] Update .gitignore --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 02709c0338..89eb8c8219 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ - + package-lock.json node_modules From f9b586ff465ef260ca281514592f5f110de97c14 Mon Sep 17 00:00:00 2001 From: Gew Date: Thu, 2 Jan 2025 20:29:31 +0700 Subject: [PATCH 36/42] Update LICENSE.txt --- LICENSE.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE.txt b/LICENSE.txt index 0e259d42c9..77c6cb4713 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ -Creative Commons Legal Code +Creative Commons Legal Code CC0 1.0 Universal From d50f301eb6ae9c440bea2eb5b1879ebd712c83fc Mon Sep 17 00:00:00 2001 From: Gew Date: Fri, 3 Jan 2025 14:02:10 +0700 Subject: [PATCH 37/42] Update cmdlinejsonvalidator.py Signed-off-by: Gew --- tools/cmdlinejsonvalidator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cmdlinejsonvalidator.py b/tools/cmdlinejsonvalidator.py index b2e49a15d7..6bd41f0c2d 100644 --- a/tools/cmdlinejsonvalidator.py +++ b/tools/cmdlinejsonvalidator.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python ################################################################################### ###################### Python Script to validate JSON file ######################## From e4227068a70ef1b15efd5f6dbb67098631c3c406 Mon Sep 17 00:00:00 2001 From: Gew Date: Fri, 3 Jan 2025 14:04:06 +0700 Subject: [PATCH 38/42] Update cna-assignment-info-to-json.pl Signed-off-by: Gew --- tools/cna-assignment-info-to-json.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cna-assignment-info-to-json.pl b/tools/cna-assignment-info-to-json.pl index 7c717da70f..85d4a88fc0 100755 --- a/tools/cna-assignment-info-to-json.pl +++ b/tools/cna-assignment-info-to-json.pl @@ -1,4 +1,4 @@ -#/usr/bin/perl -w +#/usr/bin/perl -w # # Convert CNA assignment information in CSV or flat file format to JSON. # From 2067b6ba2caa798232378b7ec0c49e5e184643bf Mon Sep 17 00:00:00 2001 From: Gew Date: Fri, 3 Jan 2025 14:08:02 +0700 Subject: [PATCH 39/42] Update mitre-cna-assignment-info.js Signed-off-by: Gew --- tools/mitre-cna-assignment-info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mitre-cna-assignment-info.js b/tools/mitre-cna-assignment-info.js index 7116e36600..d9e6f69f4d 100644 --- a/tools/mitre-cna-assignment-info.js +++ b/tools/mitre-cna-assignment-info.js @@ -1,4 +1,4 @@ -// +// // Runs an HTTP server to prompt for CVE assignment information and // outputs that in a format for submission to MITRE. // From 0bc9577ed6460034caf17d48fca20735b0b7438e Mon Sep 17 00:00:00 2001 From: Gew Date: Fri, 3 Jan 2025 14:09:00 +0700 Subject: [PATCH 40/42] Update jekyll-docker.yml Signed-off-by: Gew --- .github/workflows/jekyll-docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/jekyll-docker.yml b/.github/workflows/jekyll-docker.yml index 3d0eedb4ce..7bb37b9181 100644 --- a/.github/workflows/jekyll-docker.yml +++ b/.github/workflows/jekyll-docker.yml @@ -1,4 +1,4 @@ -name: Jekyll site CI +name: Jekyll site CI on: push: From bf93a2900735e3901abdcefb1e1689b66c6f5ff6 Mon Sep 17 00:00:00 2001 From: Gew Date: Fri, 3 Jan 2025 14:10:38 +0700 Subject: [PATCH 41/42] Create npm-publish-github-packages.yml Signed-off-by: Gew --- .../workflows/npm-publish-github-packages.yml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/npm-publish-github-packages.yml diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml new file mode 100644 index 0000000000..ea2d329fa0 --- /dev/null +++ b/.github/workflows/npm-publish-github-packages.yml @@ -0,0 +1,36 @@ +# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created +# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages + +name: Node.js Package + +on: + release: + types: [created] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + - run: npm ci + - run: npm test + + publish-gpr: + needs: build + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + registry-url: https://npm.pkg.github.com/ + - run: npm ci + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} From f8e656740bfac6cbfaa50a94e068ddd34303cff4 Mon Sep 17 00:00:00 2001 From: Gew Date: Fri, 3 Jan 2025 14:11:49 +0700 Subject: [PATCH 42/42] Rename dependabot.yml to dependabot.yml Signed-off-by: Gew