-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (35 loc) · 1.21 KB
/
detect-changed-packages.yml
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: detect changed packages
on:
pull_request:
branches: ['**']
types: [opened, reopened, labeled, unlabeled, synchronize]
concurrency:
group: detect-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
detect:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
token: ${{ secrets.ACTION_TOKEN }}
fetch-depth: 0
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'pnpm'
- name: install dependencies
run: pnpm install --frozen-lockfile
- name: 'detect changed packages'
uses: NaverPayDev/changeset-actions/detect-add@main
with:
github_token: ${{ secrets.ACTION_TOKEN }}
packages_dir: .
skip_label: skip-detect-change
skip_branches: main
formatting_script: pnpm run markdownlint:fix