Skip to content

Commit

Permalink
fix: run ci only once for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
SamMousa committed Sep 28, 2023
1 parent c786a34 commit fdf51b7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Continous integration
on: [push, pull_request]
on:
pull_request:
push:
branches:
- master
jobs:
cs:
name: Check code style
Expand All @@ -16,7 +20,7 @@ jobs:
matrix:
php: ['8.1', '8.2']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
Expand Down

0 comments on commit fdf51b7

Please sign in to comment.