Make sure pre-receive hook can properly check Actions token permissions based on your repository configuration

This commit is contained in:
Excellencedev committed 2025-12-30 05:18:54 +01:00
1 parent efb93b5da1
commit de0d8da7b6
5 files changed
+42 -23

No files matched your search

+1
View File
@@ -38,6 +38,7 @@ type HookOptions struct {
DeployKeyID int64 // if the pusher is a DeployKey, then UserID is the repo's org user.
IsWiki bool
ActionPerm int
ActionsTaskID int64 // if the pusher is an Actions user, the task ID
}
// SSHLogOption ssh log options