mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-07 08:55:31 +02:00
Fix Theme Metadata Duplication and Add Missing Properties for Recent Pull Requests (#575)
* fix ability to add tags multiple times when rebuilding themes * fix `createdAt` not being added for pull requests made prior * adds tags property if it doesn't exist (old PRs) * updated affected `theme.json` files * updated more affected `theme.json` files * fix action failing if new commits before finished * make action only initiate when themes are changed
This commit is contained in:
parent
65c8c1fed0
commit
a73edd785e
13 changed files with 53 additions and 14 deletions
9
.github/workflows/update-theme-date.yml
vendored
9
.github/workflows/update-theme-date.yml
vendored
|
@ -1,13 +1,11 @@
|
|||
name: Update Theme Timestamps
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
types: [closed]
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'themes/**'
|
||||
|
||||
jobs:
|
||||
update-timestamp:
|
||||
|
@ -57,4 +55,5 @@ jobs:
|
|||
git add "themes/$theme/theme.json"
|
||||
done
|
||||
git commit -m "Update \`updated at\` field for \`$CHANGED_THEMES\`"
|
||||
git push
|
||||
git pull origin main --strategy-option=theirs
|
||||
git push origin main
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue