Skip to content

Commit d4fe640

Browse files
committed
Only make tests mandatory for PRs
1 parent 80ea0be commit d4fe640

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/main_kooktime.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414
jobs:
1515
test:
1616
runs-on: ubuntu-latest
17+
if: github.event_name == 'pull_request'
1718

1819
steps:
1920
- name: "Checkout Github Action"
@@ -32,7 +33,6 @@ jobs:
3233

3334
deploy:
3435
runs-on: ubuntu-latest
35-
needs: test
3636
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
3737

3838
steps:

0 commit comments

Comments
 (0)