Added: Exclude rules for WP PHP Mailer #115
This file contains 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
--- | |
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
# Commit | |
# Version 1.0.0 | |
# Author: Vatu Ltd <[email protected]> | |
name: 'Commit' | |
on: | |
workflow_dispatch: | |
push: | |
branches-ignore: | |
- 'dependabot/**' | |
pull_request: | |
types: | |
- opened | |
- edited | |
- synchronize | |
concurrency: | |
group: ${{ github.workflow }}--${{ github.head_ref || github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
xml-lint: | |
name: 'XML Lint' | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: 'Check out the repository.' | |
uses: 'actions/[email protected]' | |
- name: 'Download schema.' | |
run: wget https://raw.githubusercontent.com/squizlabs/PHP_CodeSniffer/master/phpcs.xsd | |
- name: 'Get lint information.' | |
uses: 'korelstar/[email protected]' | |
- name: 'Run XML Lint tests.' | |
uses: 'ChristophWurst/[email protected]' | |
with: | |
xml-file: ./phpcompatibility.dist.xml | |
xml-schema-file: ./phpcs.xsd |