mirror of
https://github.com/System-End/riceathon.git
synced 2026-04-19 23:22:58 +00:00
20 lines
668 B
YAML
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
|