[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
[X] I have verified that I am using the latest version of Scoop and corresponding bucket.
Package Name
All
Expected/Current Behaviour
I created a bucket which generated from https://github.com/ScoopInstaller/BucketTemplate, and I follow the introduction by README.md to enable GitHub Actions for this repository and modify the README.md and the bin/auto-pr.ps1 files accordingly.
But the excavator action went with wrong in scheduled mode and manual mode. It worked pass but not update the manifest.json See in
Prerequisites
Package Name
All
Expected/Current Behaviour
I created a bucket which generated from https://github.com/ScoopInstaller/BucketTemplate, and I follow the introduction by
README.md
to enable GitHub Actions for this repository and modify theREADME.md
and thebin/auto-pr.ps1
files accordingly.But the excavator action went with wrong in scheduled mode and manual mode. It worked pass but not update the
manifest.json
See inSteps to Reproduce
Possible Solution
For the error logs is the follow:
I think the action get the branch wrong with my repo - yi-Xu-0100/scoop-bucket (branch is
main
, notmaster
).And also I think it may cause by the follow: https://github.com/ScoopInstaller/GithubActions/blob/3409da73ff0c201c44725d1935ca28bacef306fd/src/Action/Scheduled.psm1#L10-L22
In my actions, It did not have
$env:GITHUB_BRANCH
, and the branch will be set withmaster
.I think it may set with the
bin/auto-pr.ps1
, which will edit by bucket owner.Scoop and Buckets Version
Scoop Config
PowerShell Version
Additional Softwares
No response