Closed jwmcgettigan closed 1 year ago
The section of checkver.ps1
that actually runs the script is here:
https://github.com/ScoopInstaller/Scoop/blob/f93028001fbe5c78cc41f59e3814d2ac8e595724/bin/checkver.ps1#L284-L286
if ($script) {
$page = Invoke-Command ([scriptblock]::Create($script -join "`r`n"))
}
This seems to be related to https://github.com/ScoopInstaller/GithubActions/issues/32
This checkver script is successful locally but not when I run
/verify
and I can't figure out why.This is the pull request that is having trouble: https://github.com/ScoopInstaller/Versions/pull/996
Below is an example of a failed
/verify
: https://github.com/ScoopInstaller/Versions/actions/runs/4188956130I've even replicated the section of the GithubActions code that does the check locally and succeeded. https://github.com/ScoopInstaller/GithubActions/blob/f0cb83abb816169af735a69920b2433c33d5b4f3/src/Action/PR.psm1#L185-L195
I'm not sure how to debug the issue. Thanks.