ci: only release from main repo (#25354)

This commit is contained in:
Luke Nelson 2024-01-20 22:07:07 +00:00 committed by GitHub
parent a551b216ea
commit 013845f636
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -268,6 +268,7 @@ jobs:
id-token: write
if: |
github.event_name == 'push' &&
github.repository == 'nuxt/nuxt' &&
!contains(github.event.head_commit.message, '[skip-release]') &&
!startsWith(github.event.head_commit.message, 'chore') &&
!startsWith(github.event.head_commit.message, 'docs')