Skip to content

Added: Exclude rules for WP PHP Mailer #115

Added: Exclude rules for WP PHP Mailer

Added: Exclude rules for WP PHP Mailer #115

Workflow file for this run

---
# 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