run on pr review, not pr

This commit is contained in:
UGA Innovation Factory
2025-12-18 14:16:10 -05:00
committed by hdh20267
parent 7941135cb3
commit 7b8dcc7621

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