Add determ1ne.scripter to gallery #98
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 Extension Submission | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - "extensions/**" | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: pip install -r .github/scripts/requirements.txt | |
| - name: Validate extension submission | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| FILES=$(git diff --name-only origin/main...HEAD -- 'extensions/') | |
| if [ -n "$FILES" ]; then | |
| python .github/scripts/validate.py $FILES --summary validation-summary.md | |
| else | |
| echo "No extension files changed." | |
| fi |