[stable28] Fix npm audit #3834
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 | |
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-low | |
name: info.xml lint | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Download schema | |
run: wget -O info.xsd https://raw.githubusercontent.com/nextcloud/server/master/resources/app-info-shipped.xsd | |
- name: Lint info.xml | |
uses: ChristophWurst/xmllint-action@36f2a302f84f8c83fceea0b9c59e1eb4a616d3c1 # v1.2 | |
with: | |
xml-file: ./appinfo/info.xml | |
xml-schema-file: ./info.xsd |