Skip to content

Commit

Permalink
💚
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeyens committed Jul 14, 2023
1 parent 44da7ec commit 4752d7e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint-typecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- next
paths:
- 'packages/**'
- '.github/workflows/**'
- '.github/workflows/lint-typecheck.yml'
- '.yarnrc.yml'
- 'yarn.lock'
- '.prettier*'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ on:
branches:
- main
paths:
- 'apps/www/src/registry'
- '.github/workflows/registry.yml'
- 'apps/www/src/registry/**'

jobs:
update-registry:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/sync-templates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- main
paths:
- '.github/workflows/sync-templates.yml'
- 'templates/**'

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- next
paths:
- 'packages/**'
- '.github/workflows/**'
- '.github/workflows/test.yml'
- '.yarnrc.yml'
- 'yarn.lock'
- '.prettier*'
Expand All @@ -25,7 +25,7 @@ on:
- reopened
paths:
- 'packages/**'
- '.github/workflows/**'
- '.github/workflows/test.yml'
- '.yarnrc.yml'
- 'yarn.lock'
- '.prettier*'
Expand Down
7 changes: 2 additions & 5 deletions scripts/sync-templates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ IS_CI="${CI:-false}"
BASE=$(pwd)
COMMIT_MESSAGE=$(git log -1 --pretty=%B)

git config --global user.email "[email protected]"
git config --global user.name "zbeyens"

for folder in $GLOB; do
[ -d "$folder" ] || continue
cd $BASE
Expand All @@ -23,9 +20,9 @@ for folder in $GLOB; do

NAME=${folder##*/}
if [ -z "$API_TOKEN_GITHUB" ]; then
REPO="https://github.com/${OWNER}/${NAME}.git"
REPO="git@github.com:${OWNER}/${NAME}.git"
else
REPO="https://${API_TOKEN_GITHUB}@github.com/${OWNER}/${NAME}.git"
REPO="[email protected]:${API_TOKEN_GITHUB}/${OWNER}/${NAME}.git"
fi
CLONE_DIR="__${NAME}__clone__"

Expand Down

0 comments on commit 4752d7e

Please sign in to comment.