Skip to content

Commit 136d9ae

Browse files
Run lint on pull requests
1 parent 4be101e commit 136d9ae

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci-cd.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name: CI CD - Whim
33
on:
44
push:
55
branches: [main]
6+
pull_request:
7+
branches: [main]
68

79
jobs:
810
build:
@@ -26,6 +28,7 @@ jobs:
2628
name: CD - Whim Deploy
2729
runs-on: ubuntu-22.04
2830
needs: build
31+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
2932

3033
steps:
3134
- name: Setup SSH key

0 commit comments

Comments
 (0)