forked from remix-run/react-router
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (33 loc) Β· 971 Bytes
/
changes-file.yml
File metadata and controls
41 lines (33 loc) Β· 971 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: π Change File Check
on:
pull_request:
branches:
- dev
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
name: π Change File Check
if: github.repository == 'remix-run/react-router'
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: β¬οΈ Checkout repo
uses: actions/checkout@v6
- name: π¦ Setup pnpm
uses: pnpm/action-setup@v6
- name: β Setup node
uses: actions/setup-node@v6
with:
node-version-file: ".nvmrc"
cache: pnpm
- name: π₯ Install deps
run: pnpm install --frozen-lockfile
- name: π Check change file and update PR comment
env:
GITHUB_TOKEN: ${{ github.token }}
run: node scripts/changes/check-pr.ts ${{ github.event.pull_request.number }}