github: Only run the checklist checker for PRs against main

Currently this check is run on every push to stable branches which all
fail since they fail to fetch the non-existent .github/path-rules.txt
from the just-updated branches.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D60709
This commit is contained in:
John Baldwin committed 2026-10-17 11:24:23 -04:00
1 parent 6866177454
commit 19a5023e45
1 file changed
+1
+1
View File
@@ -5,6 +5,7 @@ name: Checklist
on:
pull_request_target:
branches: [ main ]
types: [ opened, reopened, edited, synchronize ]
permissions: