diff --git a/.github/scripts/update-palette.py b/.github/scripts/update-palette.py index dbf773fa..186a7804 100644 --- a/.github/scripts/update-palette.py +++ b/.github/scripts/update-palette.py @@ -6,6 +6,7 @@ with urllib.request.urlopen(url) as response: flavors = json.loads(response.read().decode()) +flavors.pop("version", None) for flavor in flavors: with open(f"lua/catppuccin/palettes/{flavor}.lua", "w") as f: f.write("return {\n") diff --git a/.github/workflows/palette.yml b/.github/workflows/palette.yml index 155d5e37..ba3317a4 100644 --- a/.github/workflows/palette.yml +++ b/.github/workflows/palette.yml @@ -1,10 +1,9 @@ name: Palette on: - push: workflow_dispatch: schedule: - - cron: '0 0 * * *' # Run every day at midnight UTC + - cron: '0 0 1 * *' # Run on the first of every month jobs: createPullRequest: