29 lines
574 B
YAML
29 lines
574 B
YAML
name: Validate Plugin Manifests
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: validate-plugin-manifests-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
validate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Validate plugin manifests
|
|
run: python3 .github/workflows/validate-plugins.py
|
|
|
|
- name: Test plugin validator
|
|
run: python3 -m unittest discover -s .github/workflows -p 'test_*.py'
|