From 2350aae76c5d09a57beebcb6aab624cf337f64ce Mon Sep 17 00:00:00 2001 From: MantisClone Date: Thu, 4 Dec 2025 17:08:44 -0500 Subject: [PATCH] fix: skip husky hooks during CI commits and bump to 1.3.2 --- .github/workflows/deploy.yml | 8 ++++---- .gitignore | 1 + tokens/token-list.json | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 840b730..226c639 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -34,12 +34,12 @@ jobs: jq --arg ts "$TIMESTAMP" '.timestamp = $ts' tokens/token-list.json > tokens/token-list.json.tmp mv tokens/token-list.json.tmp tokens/token-list.json - # Commit timestamp update if changed + # Commit timestamp update if changed (skip husky hooks in CI) if ! git diff --quiet tokens/token-list.json; then git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" git add tokens/token-list.json - git commit -m "chore: Update timestamp for release [skip ci]" + HUSKY=0 git commit -m "chore: Update timestamp for release [skip ci]" git push origin main fi @@ -54,11 +54,11 @@ jobs: cp tokens/token-list.json versions/v${CURRENT_VERSION}.json echo "Preserved v${CURRENT_VERSION}.json as historical snapshot" - # Commit the historical snapshot back to main + # Commit the historical snapshot back to main (skip husky hooks in CI) git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" git add versions/v${CURRENT_VERSION}.json - git commit -m "chore: Preserve v${CURRENT_VERSION}.json as historical snapshot [skip ci]" + HUSKY=0 git commit -m "chore: Preserve v${CURRENT_VERSION}.json as historical snapshot [skip ci]" git push origin main else echo "v${CURRENT_VERSION}.json already exists in versions/ directory" diff --git a/.gitignore b/.gitignore index f06235c..4075f46 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules dist +.ignore diff --git a/tokens/token-list.json b/tokens/token-list.json index d0bb979..b68edbb 100644 --- a/tokens/token-list.json +++ b/tokens/token-list.json @@ -4,7 +4,7 @@ "version": { "major": 1, "minor": 3, - "patch": 1 + "patch": 2 }, "tokens": [ {