run on pr review, not pr #2

Merged
hdh20267 merged 1 commits from ci-update into main 2025-12-18 19:19:46 +00:00

View File

@@ -4,7 +4,8 @@ on:
push:
branches:
- main
pull_request:
pull_request_review:
workflow_dispatch:
permissions:
@@ -14,8 +15,6 @@ jobs:
flake-check:
name: Flake Check
runs-on: [self-hosted, nix-builder]
# Only auto-run on main branch, PRs require workflow_dispatch
if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/main'
needs: [format-check]
steps:
- name: Checkout repository