riceathon/.github/workflows/ci.yml
2025-12-30 20:12:34 -07:00

20 lines
668 B
YAML

name: Tests
on:
pull_request_target:
types: [opened, reopened, synchronize]
workflow_dispatch:
permissions:
pull-requests: write # To add comments/request reviews, and to tag rices
contents: read # To check members.json
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
- run: OWNER_NAME=${{ github.event.repository.owner.login }} REPO_NAME=${{ github.event.repository.name }} GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} PR_NUMBER=${{ github.event.number }} node scripts/validate_prs.js