From 72e358f034c7224a85aacc32574530e51e20845e Mon Sep 17 00:00:00 2001 From: tresabhi <43380238+tresabhi@users.noreply.github.com> Date: Thu, 22 Oct 2026 15:45:04 -0500 Subject: [PATCH] add pr checks --- .github/workflows/website.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/website.yaml b/.github/workflows/website.yaml index dce96868b..cbd3bf04c 100644 --- a/.github/workflows/website.yaml +++ b/.github/workflows/website.yaml @@ -3,6 +3,8 @@ name: Website on: push: + pull_request: + schedule: - cron: "0 4 * * *" @@ -102,7 +104,8 @@ jobs: - name: Checkout uses: actions/checkout@v6 with: - ref: ${{ inputs.branch || 'production' }} + # the PR's ref, or the manual input, or production (selected when cron) + ref: ${{ github.event.pull_request.head.sha || inputs.branch || 'production' }} submodules: recursive token: ${{ secrets.GH_TOKEN }}