Skip to content

handle token request cases for authorization_code and refresh_token differently #117

handle token request cases for authorization_code and refresh_token differently

handle token request cases for authorization_code and refresh_token differently #117

Workflow file for this run

---
name: XML Quality Assistance
on:
# This event occurs when there is activity on a pull request. The workflow
# will be run against the commits, after merge to the target branch (main).
pull_request:
branches: [ main ]
paths:
- '**.xml'
- '**.xml.dist'
- '.github/workflows/xml.yml'
types: [ opened, reopened, synchronize ]
# This event occurs when there is a push to the repository.
push:
paths:
- '**.xml'
- '**.xml.dist'
- '.github/workflows/xml.yml'
# Allow manually triggering the workflow.
workflow_dispatch:
# Cancels all previous workflow runs for the same branch that have not yet completed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
# Needed to allow the "concurrency" section to cancel a workflow run.
actions: write
jobs:
# 01.preflight.xml.lint-syntax.yml
lint-xml:
name: XML Linting
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: docker://pipelinecomponents/xmllint
with:
# yamllint disable-line rule:line-length
args: /bin/sh -c "find . -iname '*.xml' -type f -exec xmllint --noout {} \+"