Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run GitHub workflow only on push #13

Merged
merged 1 commit into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Code Quality

on: ['push', 'pull_request']
on: ['push']

jobs:
ci:
Expand All @@ -10,9 +10,8 @@ jobs:
fail-fast: true
matrix:
php-version: [8.1]
dependency-version: [prefer-lowest, prefer-stable]

name: Code Quality PHP${{ matrix.php-version }} - ${{ matrix.dependency-version }}
name: Code Quality

steps:
- name: Checkout
Expand All @@ -31,7 +30,7 @@ jobs:
coverage: none

- name: Install Composer dependencies
run: composer update --${{ matrix.dependency-version }} --no-interaction --prefer-dist
run: composer update --no-interaction --prefer-stable --prefer-dist

- name: Code Style Checks
run: composer test:style
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Tests

on: ['push', 'pull_request']
on: ['push']

jobs:
ci:
Expand Down
Loading