Skip to content

Commit

Permalink
fix(theme): standardize README file naming to lowercase
Browse files Browse the repository at this point in the history
Updated the README file references in both the submit-theme script and the create-theme workflow to use a lowercase naming convention. This change ensures consistency across the project and prevents potential issues with case sensitivity on different operating systems.
  • Loading branch information
amnweb committed Aug 29, 2024
1 parent 7a7e513 commit 345975d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/submit-theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
import urllib.parse

STYLES_FILE = "styles.css"
README_FILE = "README.md"
README_FILE = "readme.md"
IMAGE_FILE = "image.png"
CONFIG_FILE = "config.yml"

TEMPLATE_STYLES_FILE = "./styles.css"
TEMPLATE_CONFIG_FILE = "./config.yml"
TEMPLATE_README_FILE = "./README.md"
TEMPLATE_README_FILE = "./readme.md"

def create_theme_id():
return str(uuid.uuid4())
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
uses: "DamianReeves/write-file-action@master"
with:
contents: ${{ fromJson(steps.issue-parser.outputs.jsonString)['readme'] }}
path: README.md
path: readme.md

- name: Setup Git
run: |
Expand Down

0 comments on commit 345975d

Please sign in to comment.