Repository navigation
Add Plugin: Twitch Viewer Plugin #106
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 }}" |