Merge pull request #934 from nextcloud/dependabot/npm_and_yarn/sass-1… #704
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
# This workflow is provided via the organization template repository | |
# | |
# https://github.com/nextcloud/.github | |
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization | |
name: Lint info.xml | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- master | |
- stable* | |
permissions: | |
contents: read | |
concurrency: | |
group: lint-info-xml-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
xml-linters: | |
runs-on: ubuntu-latest | |
name: info.xml lint | |
steps: | |
- name: Checkout | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Download schema | |
run: wget https://raw.githubusercontent.com/nextcloud/appstore/master/nextcloudappstore/api/v1/release/info.xsd | |
- name: Lint info.xml | |
uses: ChristophWurst/xmllint-action@39155a91429af431d65fafc21fa52ba5c4f5cb71 # v1.1 | |
with: | |
xml-file: ./appinfo/info.xml | |
xml-schema-file: ./info.xsd |