Skip to content

Commit

Permalink
ci(update-palette): fix script & reduce frequency (#780)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgoudham authored Oct 19, 2024
1 parent 4bee3e3 commit 96bba52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/scripts/update-palette.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/palette.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 96bba52

Please sign in to comment.