Skip to content

Sample Data Validation running on 14024/merge #9504

Sample Data Validation running on 14024/merge

Sample Data Validation running on 14024/merge #9504

name: Sample Data Validation
run-name: Sample Data Validation running on ${{ github.ref_name }}
on:
pull_request:
branches:
- master
# Allows to run workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: read
pull-requests: write
jobs:
sampleDataValidator:
runs-on: ubuntu-latest
env:
REPO_OWNER: ${{ github.event.pull_request.base.repo.owner.login }}
REPO_NAME: ${{ github.event.pull_request.base.repo.name }}
PRNUM: ${{ github.event.pull_request.number }}
GITHUBAPPID: ${{ secrets.APPLICATION_ID }}
GITHUBAPPINSTALLATIONID: ${{ secrets.APPLICATION_INSTALLATION_ID }}
GITHUBAPPPRIVATEKEY: ${{ secrets.APPLICATION_PRIVATE_KEY }}
SYSTEM_PULLREQUEST_ISFORK: ${{ github.event.pull_request.head.repo.fork }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2 # Only need HEAD and parent for git diff
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
- name: npm ci
run: npm ci
- name: Sample Data Validator
run: npm run tsc && node .script/sampleDataValidator.js