Skip to content

PR Validation Checker #4

PR Validation Checker

PR Validation Checker #4

name: PR Validation Checker
on: issue_comment
jobs:
pr_commented:
name: Validate PR
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, 'validate') }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
version: [3.7, 3.8, 3.9, 3.10, 3.11]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-python@v4
- with:
python-version: ${{ matrix.version }}
run: python --version

Check failure on line 18 in .github/workflows/pr-comment-validate.yml

View workflow run for this annotation

GitHub Actions / PR Validation Checker

Invalid workflow file

The workflow is not valid. .github/workflows/pr-comment-validate.yml (Line: 18, Col: 9): Unexpected value 'run' .github/workflows/pr-comment-validate.yml (Line: 16, Col: 9): Required property is missing: uses