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
5 changes: 3 additions & 2 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ jobs:
CONTEXT_LABEL="PR #${{ github.event.pull_request.number }}"
else
RAW_BRANCH="${{ github.ref_name }}"
SLUG="$(echo "$RAW_BRANCH" | tr '[:upper:]' '[:lower:]' | sed -E 's#[^a-z0-9]+#-#g; s#(^-+|-+$)##g' | cut -c1-40)"
# First sanitize and truncate, then clean up any trailing hyphens from truncation
SLUG="$(echo "$RAW_BRANCH" | tr '[:upper:]' '[:lower:]' | sed -E 's#[^a-z0-9]+#-#g' | cut -c1-40 | sed -E 's#-+$##g; s#(^-+)##g')"
if [[ -z "$SLUG" ]]; then
SLUG="branch"
fi
Expand Down Expand Up @@ -116,7 +117,7 @@ jobs:
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: versions upload --preview-alias ${{ steps.preview_meta.outputs.preview_alias }}
command: versions upload --preview-alias ${{ steps.preview_meta.outputs.preview_alias }} --env=""

- name: Comment Preview URL
if: github.event_name == 'pull_request'
Expand Down
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://biomejs.dev/schemas/2.3.10/schema.json",
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
Expand Down
10 changes: 3 additions & 7 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"version": "0.2",
"language": "en,de,es,fr,id,it,pt,ru,tr",
"dictionaries": ["de", "es", "fr", "id", "it", "pt", "ru", "tr"],
"language": "en,de,es,fr,id,pt,ru,tr",
"dictionaries": ["de", "es", "fr", "id", "pt", "ru", "tr"],
"dictionaryDefinitions": [
{
"name": "de",
Expand All @@ -24,11 +24,6 @@
"path": "node_modules/@cspell/dict-id-id/dict/id-id.trie",
"description": "Indonesian dictionary"
},
{
"name": "it",
"path": "node_modules/@cspell/dict-it-it/dict/it-it.trie",
"description": "Italian dictionary"
},
{
"name": "pt",
"path": "node_modules/@cspell/dict-pt-pt/dict/Portuguese-European.trie.gz",
Expand All @@ -49,6 +44,7 @@
"ignorePaths": ["cloudflare-env.d.ts", "docs", ".claude"],
"words": [
"API'lerle",
"aracidir",
"Anthropics",
"BYOK",
"Benefíciate",
Expand Down
Loading
Loading