File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ var GitHubOutputPwshRegexp = regexp.MustCompile(`(?m)(?i:env):GITHUB_OUTPUT`)
2424var GitHubOutputBashRegexp = regexp .MustCompile (`(?m)>>\s*"*\${*GITHUB_OUTPUT` )
2525var GitHubEnvPwshRegexp = regexp .MustCompile (`(?m)(?i:env):GITHUB_ENV` )
2626var GitHubEnvBashRexexp = regexp .MustCompile (`(?m)>{1,2}\s*"*\${*GITHUB_ENV` )
27- var BotActor = regexp .MustCompile (`(?m)github.actor\s*= =\s*["'].*\[bot\]` )
27+ var BotActor = regexp .MustCompile (`(?m)github.(triggering_)? actor\s*?(=|!) =\s*? ["'].*? \[bot\]` )
2828
2929// GitCheckoutBashRexexp It’s not possible to include a backtick in a raw string literal (https://yourbasic.org/golang/multiline-string/)
3030var GitCheckoutBashRexexp = regexp .MustCompile (`(?m)git checkout.*(\$|` + regexp .QuoteMeta ("`" ) + `)` )
You can’t perform that action at this time.
0 commit comments