add pr checks

This commit is contained in:
tresabhi committed 2026-10-22 15:45:04 -05:00
1 parent 625d8d1595
commit 72e358f034
1 file changed
+4 -1
+4 -1
View File
@@ -3,6 +3,8 @@ name: Website
on: on:
push: push:
pull_request:
schedule: schedule:
- cron: "0 4 * * *" - cron: "0 4 * * *"
@@ -102,7 +104,8 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v6 uses: actions/checkout@v6
with: 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 submodules: recursive
token: ${{ secrets.GH_TOKEN }} token: ${{ secrets.GH_TOKEN }}