Repository navigation
Add Ulanzi D200X / D200H device plugin (dev.kastro5.ulanzi-d200) #138
Workflow file for this run
This file contains hidden or 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
| name: Validate plugin submission | |
| on: | |
| pull_request: | |
| paths: | |
| - "catalogue.json" | |
| - "icons/**" | |
| - "validate_submission.py" | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| name: Validate plugin submission | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out pull request | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.x" | |
| - name: Validate catalogue submission | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} | |
| run: >- | |
| python validate_submission.py | |
| --base "${{ github.event.pull_request.base.sha }}" | |
| --head "${{ github.event.pull_request.head.sha }}" | |
| --author "${{ github.event.pull_request.user.login }}" | |
| --repository "${{ github.repository }}" |