Browse Source

fix(update-themes): limit to trunk; fix yaml syntax error

Sarah Norris 3 years ago
parent
commit
41c79f6d41
2 changed files with 6 additions and 4 deletions
  1. 4 2
      .github/workflows/update-themes.yml
  2. 2 2
      lerna.json

+ 4 - 2
.github/workflows/update-themes.yml

@@ -3,6 +3,8 @@ name: "Update Themes"
 on:
   pull_request_target:
     types: [ closed ]
+    branches:
+      - trunk
 
 jobs:
   main:
@@ -26,5 +28,5 @@ jobs:
       - run: npm ci
       - run: npm run update-themes
       - run: git add . 
-      - run: git commit -a -m "chore: auto-update package info"
-      #- run: git push
+      - run: git commit -m "chore:"" auto-update package info"
+      - run: git push

+ 2 - 2
lerna.json

@@ -1,8 +1,8 @@
 {
   "command": {
     "version": {
-      "conventionalCommits": true,
-      "message": "chore: auto-update package info"
+      "allowBranch": "trunk",
+      "conventionalCommits": true
     }
   },
   "packages": [