Merge pull request #9001 from nextcloud/fix/classification/delete-his… #2620
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@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- 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@36f2a302f84f8c83fceea0b9c59e1eb4a616d3c1 # v1.2 | |
with: | |
xml-file: ./appinfo/info.xml | |
xml-schema-file: ./info.xsd |