Skip to content

Add support for JPEG image file naming convention #6

Add support for JPEG image file naming convention

Add support for JPEG image file naming convention #6

Workflow file for this run

# Github Actions workflow to validate a PR
name: Validate Fantasy Cow PR
permissions:
issues: write
pull-requests: write
contents: read
on:
pull_request_target:
types: [opened, reopened, synchronize, edited]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Validate pull request
run: node .github/scripts/validate-pr.js
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}