-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (36 loc) Β· 976 Bytes
/
Copy pathpr.yml
File metadata and controls
40 lines (36 loc) Β· 976 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
name: π€ Pull Request
on:
push:
pull_request:
types:
- opened
- synchronize
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.head.sha}}
cancel-in-progress: true
permissions:
contents: read
pull-requests: write
jobs:
check:
name: π΅π» Check Pull Request
runs-on: ubuntu-latest
timeout-minutes: 15 # 15 minutes
steps:
- name: ποΈ Checkout Code
uses: actions/checkout@v4
- name: π Setup Bun
uses: oven-sh/setup-bun@v2
- name: π΅ Cache Bun
id: bun-cache
uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
- name: π¦ Install Dependencies
run: bun install
- name: πΆ Lint Dog
uses: mongolyy/reviewdog-action-biome@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: github-pr-review