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>