From 516e9ce81f0376b8372d21f7d7345c1f4d87bf67 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 8 Nov 2025 03:23:47 +0000 Subject: [PATCH 1/4] Initial plan From 06e6a4306108ba6982d3d1aa54ad0a37b29dd360 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 8 Nov 2025 03:27:25 +0000 Subject: [PATCH 2/4] Add GitHub Actions workflow for PR checks Co-authored-by: foreleven <4785594+foreleven@users.noreply.github.com> --- .github/workflows/pr-checks.yml | 43 +++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/pr-checks.yml diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml new file mode 100644 index 0000000..e9ab8c9 --- /dev/null +++ b/.github/workflows/pr-checks.yml @@ -0,0 +1,43 @@ +name: Pull Request Checks + +on: + pull_request: + branches: [main] + +jobs: + checks: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: "20" + + - name: Setup pnpm + uses: pnpm/action-setup@v4 + + - name: Get pnpm store directory + shell: bash + run: | + echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV + + - name: Setup pnpm cache + uses: actions/cache@v4 + with: + path: ${{ env.STORE_PATH }} + key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} + restore-keys: | + ${{ runner.os }}-pnpm-store- + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Build + run: pnpm build + + - name: Lint + run: pnpm lint From 3e0e77f5411c5d43bf1bddfafd7fa0788b6acfb1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 8 Nov 2025 03:28:47 +0000 Subject: [PATCH 3/4] Add permissions block to PR checks workflow Co-authored-by: foreleven <4785594+foreleven@users.noreply.github.com> --- .github/workflows/pr-checks.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index e9ab8c9..7ba6a1b 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -7,6 +7,8 @@ on: jobs: checks: runs-on: ubuntu-latest + permissions: + contents: read steps: - name: Checkout From 1d6c89536aa338490e3d43131f8112b659415359 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 8 Nov 2025 04:08:31 +0000 Subject: [PATCH 4/4] Disable GitHub Pages deployment on pull requests Co-authored-by: foreleven <4785594+foreleven@users.noreply.github.com> --- .github/workflows/deploy.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5fc4a81..9ee1d45 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,8 +3,6 @@ name: Deploy to GitHub Pages on: push: branches: [main] - pull_request: - branches: [main] jobs: build-and-deploy: