From e58d798c7c94c4f351adfccbc1d41749bbc69a48 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Mar 2026 03:46:03 +0000 Subject: [PATCH 1/2] Initial plan From 4c086e9a3b64a02d05e9673ad4e1bbfef61fc9c0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 1 Mar 2026 03:58:15 +0000 Subject: [PATCH 2/2] Add pull_request trigger to deploy workflow so CI checks run on PRs The deploy workflow only triggered on push to main and workflow_dispatch, so the CI job was never started for pull requests. This prevented PRs from being merged when required status checks were configured. - Add pull_request trigger targeting the main branch - Add conditional guards to skip actual deployment on PR events - On PRs, the job runs (creating the status check) but skips deploy steps Co-authored-by: blackboxprogramming <118287761+blackboxprogramming@users.noreply.github.com> --- .github/workflows/deploy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c00ce7b..122db4a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,6 +3,8 @@ name: Deploy to GitHub Pages on: push: branches: [main] + pull_request: + branches: [main] workflow_dispatch: permissions: @@ -25,13 +27,16 @@ jobs: uses: actions/checkout@v4 - name: Setup Pages + if: github.event_name != 'pull_request' uses: actions/configure-pages@v4 - name: Upload artifact + if: github.event_name != 'pull_request' uses: actions/upload-pages-artifact@v3 with: path: . - name: Deploy to GitHub Pages + if: github.event_name != 'pull_request' id: deployment uses: actions/deploy-pages@v4