From b021623b289a1078c2a7e528e118b33ecdb90d12 Mon Sep 17 00:00:00 2001 From: Carlos Holguera Date: Tue, 20 Feb 2024 13:26:37 +0100 Subject: [PATCH] Set depth to 0 & add last updated to the tests table (#2564) * Set depth to 0 to fix latest updated files * add 'Last Updated' --- .github/workflows/build-website.yml | 2 +- src/scripts/populate_dynamic_pages.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-website.yml b/.github/workflows/build-website.yml index 985eb924ce..5b4c4f1b1d 100644 --- a/.github/workflows/build-website.yml +++ b/.github/workflows/build-website.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - fetch-depth: 1 + fetch-depth: 0 - uses: actions/setup-python@v5 with: diff --git a/src/scripts/populate_dynamic_pages.py b/src/scripts/populate_dynamic_pages.py index b37ab3b600..ce1c55e110 100644 --- a/src/scripts/populate_dynamic_pages.py +++ b/src/scripts/populate_dynamic_pages.py @@ -78,7 +78,7 @@ def reorder_dict_keys(original_dict, key_order): # tests/index.md -column_titles = {'id': 'ID', 'title': 'Name', 'masvs_v2_id': "MASVS v2 ID", 'masvs_v1_id': "MASVS v1 IDs"} #'id': 'ID', ... , 'refs': 'Refs', 'techniques': 'Techniques', 'last_updated': 'Last Updated' +column_titles = {'id': 'ID', 'title': 'Name', 'masvs_v2_id': "MASVS v2 ID", 'masvs_v1_id': "MASVS v1 IDs", 'last_updated': 'Last Updated'} #'id': 'ID', ... , 'refs': 'Refs', 'techniques': 'Techniques' tests = get_mastg_components_dict("docs/MASTG/tests") test_types = ["android", "ios"]