Updated workflow to only trigger on pr create and on push #70
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Code Quality | |
| on: | |
| push: | |
| branches: [main, master, beta, development, feature/**, bugfix/**, hotfix/**] | |
| pull_request: | |
| types: [opened, reopened] | |
| branches: [main, master, beta, development] | |
| workflow_dispatch: | |
| concurrency: | |
| group: quality-${{ github.head_ref || github.ref_name }} | |
| cancel-in-progress: true | |
| jobs: | |
| quality: | |
| if: github.event_name != 'push' || github.event.created != true | |
| uses: ConductionNL/.github/.github/workflows/quality.yml@main | |
| with: | |
| app-name: openconnector | |
| php-version: "8.3" | |
| php-test-versions: '["8.3", "8.4"]' | |
| nextcloud-test-refs: '["stable32"]' | |
| enable-psalm: true | |
| enable-phpstan: true | |
| enable-phpmetrics: true | |
| enable-frontend: true | |
| enable-eslint: true | |
| enable-phpunit: true | |
| enable-newman: false |