Skip to content

feat: 加入聖誕快樂標題 #736

feat: 加入聖誕快樂標題

feat: 加入聖誕快樂標題 #736

Workflow file for this run

name: PR Check (Students sign-in rules)
on:
pull_request_target:
types: [opened, synchronize, reopened]
branches: [main]
jobs:
validate:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout (shallow)
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Validate PR (only one new students folder, size limit)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_EVENT_NAME: ${{ github.event_name }}
GITHUB_EVENT_PATH: ${{ github.event_path }}
run: node scripts/validate-pr.mjs