From 499db5bfc1f2a2e0ec5aac329c1a912a34344337 Mon Sep 17 00:00:00 2001 From: Alexis Hernandez Date: Sun, 17 Aug 2025 14:34:02 +0200 Subject: [PATCH] Add workflow to check PRs --- .github/workflows/pr.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/pr.yml diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 0000000..2170124 --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,19 @@ +name: Check PR + +on: + pull_request: + branches: ["master"] + +permissions: + contents: read + +jobs: + check: + runs-on: ubuntu-latest + steps: + - name: Checkout your repository using git + uses: actions/checkout@v4 + - name: Install, build, and upload your site + uses: withastro/action@v2 + - name: Check code format + run: npx prettier . --check