From c065cbb92bfff197decc2084aaa4a51bc0211b16 Mon Sep 17 00:00:00 2001 From: Siddharth Dushantha Date: Fri, 24 May 2024 11:50:28 +0200 Subject: [PATCH] moved site_list.py to scripts/site-list.py This script is only executed by the GitHub workflow. Keeping it inside the scripts directory makes the project's directory cleaner. Additionally, it decreases the chance of contributers executing the script even though its harmless. --- .github/workflows/update-site-list.yml | 4 ++-- site_list.py => scripts/site-list.py | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename site_list.py => scripts/site-list.py (100%) diff --git a/.github/workflows/update-site-list.yml b/.github/workflows/update-site-list.yml index 1966beab..e938a666 100644 --- a/.github/workflows/update-site-list.yml +++ b/.github/workflows/update-site-list.yml @@ -29,8 +29,8 @@ jobs: python-version: '3.x' # Execute the site_list.py Python script - - name: Execute site_list.py - run: python site_list.py + - name: Execute site-list.py + run: python scripts/site-list.py # Commit any changes made by the script - name: Commit files diff --git a/site_list.py b/scripts/site-list.py similarity index 100% rename from site_list.py rename to scripts/site-list.py