ci(ci): Improve ci trigger

This commit is contained in:
Eric Fennis
2025-04-18 11:37:09 +02:00
parent c78686ceca
commit f776aaa9bc

View File

@@ -9,7 +9,7 @@ on:
jobs:
create-release:
if: github.repository == 'lucide-icons/lucide' && ${{ !startsWith(github.event.head_commit.message, 'fix(icons)') }}
if: github.repository == 'lucide-icons/lucide' && ${{ !startsWith('fix(icons)', github.event.head_commit.message) }}
runs-on: ubuntu-latest
outputs:
VERSION: ${{ steps.new-version.outputs.NEW_VERSION }}
@@ -22,15 +22,6 @@ jobs:
cache: 'pnpm'
node-version-file: 'package.json'
- name: Log head message
run: echo "${{ github.event.head_commit.message }}"
- name: Log push head message
run: echo "${{ github.event.push.head_commit.message }}"
- name: Log github event
run: echo "${{ toJson(github.event) }}"
- name: Install dependencies
run: pnpm install --frozen-lockfile