Skip to content

Commit

Permalink
refactor(ci): ♻️ use HUSKY: 0 in env according to the DRY (#2812)
Browse files Browse the repository at this point in the history
  • Loading branch information
Okinea Dev authored Jan 15, 2025
1 parent b3f1907 commit cb4c7c3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
- name: 📦 Install dependencies
run: |
bun install --frozen-lockfile
bun add -g npm
- name: 🔧 Configure Git
run: |
Expand All @@ -46,9 +45,12 @@ jobs:
run: bun run preversion

- name: 📜 Generate changelog and release notes
env:
# Don't run husky on `git commit`
HUSKY: 0
run: |
HUSKY=0 bunx changelogen --release --push
HUSKY=0 bunx changelogen github release --token ${{ secrets.GITHUB_TOKEN }}
bunx changelogen --release --push
bunx changelogen github release --token ${{ secrets.GITHUB_TOKEN }}
- name: 📝 Get metadata
run: |
Expand Down

0 comments on commit cb4c7c3

Please sign in to comment.