diff --git a/.github/workflows/update-tokens.yml b/.github/workflows/update-tokens.yml index d22b4ca..904c8bb 100644 --- a/.github/workflows/update-tokens.yml +++ b/.github/workflows/update-tokens.yml @@ -44,9 +44,8 @@ jobs: git config user.name "github-actions[bot]" git config user.email "github-actions[bot]@users.noreply.github.com" - # Branch Name - BRANCH_NAME="chore/tokens-update-${{ github.run_id }}" - git checkout -b $BRANCH_NAME + # Ensure we are on the branch + git checkout tokens # Add Changeset bunx changeset add --empty @@ -62,11 +61,11 @@ jobs: # Commit git add . git commit -m "chore: update design tokens" - git push origin $BRANCH_NAME + git push origin tokens # Create PR gh pr create \ --title "chore: update design tokens" \ --body "This PR updates the design tokens based on changes in the `tokens` branch. A changeset has been added to trigger a release." \ --base main \ - --head $BRANCH_NAME + --head tokens || echo "PR likely already exists" diff --git a/package.json b/package.json index eb5eaf0..f8560a9 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,9 @@ }, "workspaces": [ "packages/*", - "packages/libs/*" + "packages/apps/*", + "packages/libs/*", + "packages/shared/*" ], "dependencies": { "@stencil/angular-output-target": "^1.1.1",