ci: prevent-deploy commit labels
This commit is contained in:
@@ -28,6 +28,11 @@ jobs:
|
|||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: e2e
|
needs: e2e
|
||||||
|
if: |
|
||||||
|
!startsWith(github.event.head_commit.message, 'chore') &&
|
||||||
|
!startsWith(github.event.head_commit.message, 'ci') &&
|
||||||
|
!startsWith(github.event.head_commit.message, 'tests') &&
|
||||||
|
!startsWith(github.event.head_commit.message, 'no-deploy')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user