Skip to content

Commit 499db5b

Browse files
committed
Add workflow to check PRs
1 parent 0d71018 commit 499db5b

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/pr.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Check PR
2+
3+
on:
4+
pull_request:
5+
branches: ["master"]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
check:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout your repository using git
15+
uses: actions/checkout@v4
16+
- name: Install, build, and upload your site
17+
uses: withastro/action@v2
18+
- name: Check code format
19+
run: npx prettier . --check

0 commit comments

Comments
 (0)