run on pr review, not pr #2
@@ -4,7 +4,8 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
pull_request:
|
pull_request_review:
|
||||||
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -14,8 +15,6 @@ jobs:
|
|||||||
flake-check:
|
flake-check:
|
||||||
name: Flake Check
|
name: Flake Check
|
||||||
runs-on: [self-hosted, nix-builder]
|
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]
|
needs: [format-check]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|||||||
Reference in New Issue
Block a user