-
-
Notifications
You must be signed in to change notification settings - Fork 51
feat(ghattestation): non-default predicate type support #3794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ghattestation): non-default predicate type support #3794
Conversation
Thank you always! I think you need to add a field to aqua/pkg/config/registry/github_cli.go Lines 3 to 9 in 610be7a
|
https://github.com/aquaproj/aqua/actions/runs/14557538836/job/40836506577?pr=3794 Hmm. Maybe this doesn't work well in case of pull requests from fork repositories.
I'll take a look. |
"predicate_type": { | ||
"type": "string" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you update this manually?
If so, you can update JSON Schema by cmdx js
command.
cmdx js
updates JSON Schema according to Go codes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And CI (autofix.ci) updates JSON Schema automatically, though there is something wrong now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I did update the schema manually. Thanks for the tips, I'll try to remember them for the future.
Oh, for sure 🤦. Done (still untested) in b967432 |
I confirmed it works well. |
Closes #3793
Caveat: untested, but I suppose this could work.
Check List
Require signed commits
, so all commits must be signede.g. https://github.com/pkdindustries/soulshack
https://github.com/pkdindustries/soulshack/blob/f625a32a1dd503edc0980eb081a2eae249cab578/.github/workflows/go.yml#L94