don't auto-check for all prs

This commit is contained in:
UGA Innovation Factory
2025-12-18 13:52:43 -05:00
parent 90688ec5f1
commit af81786d52

View File

@@ -4,7 +4,6 @@ on:
push:
branches:
- main
- master
pull_request:
workflow_dispatch:
@@ -15,6 +14,9 @@ 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
uses: actions/checkout@v4