Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/update-tokens.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@
},
"workspaces": [
"packages/*",
"packages/libs/*"
"packages/apps/*",
"packages/libs/*",
"packages/shared/*"
],
"dependencies": {
"@stencil/angular-output-target": "^1.1.1",
Expand Down
Loading