You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: could not create "COSIGN_PASSWORD" github actions secret: PUT https://<ENTERPRISE_GITHUB>/api/v3/orgs/<ORG>/actions/secrets/COSIGN_PASSWORD: 422 Invalid request.
"visibility" wasn't supplied. []
main.go:74: error during command execution: could not create "COSIGN_PASSWORD" github actions secret: PUT https://<ENTERPRISE_GITHUB>/api/v3/orgs/<ORG>/actions/secrets/COSIGN_PASSWORD: 422 Invalid request.
"visibility" wasn't supplied. []
It appears that possibly the required request body parameter visibility is missing when making the create organization secret request as noted in the GitHub docs create-or-update-an-organization-secret
The docs specify that visibility should either be all, private, or selected. I believe ours is set to private for our case, but in this case there is not even a default selected.
Bug: missing visibility body parameter when creating organization secrets.
Attempted to generate a key pair for GitHub (self-hosted enterprise) organization and resulted in a error
422 Invalid request
After attempting to generate keys with the GitHub organization method/option:
The following error occurs:
It appears that possibly the required request body parameter
visibility
is missing when making the create organization secret request as noted in the GitHub docs create-or-update-an-organization-secretThe docs specify that
visibility
should either beall
,private
, orselected
. I believe ours is set toprivate
for our case, but in this case there is not even a default selected.Bug: missing
visibility
body parameter when creating organization secrets.Related Issue: #3566
Related PR: #3567
Version
GitVersion: v2.2.4
GitCommit: fb651b4
GitTreeState: clean
BuildDate: 2024-04-10T21:57:27Z
GoVersion: go1.21.8
Compiler: gc
Platform: linux/amd64
The text was updated successfully, but these errors were encountered: