cli/pkg/cmd/release/create
Kynan Ware a4f96d29e3 Refactor workflow scope checking
Refactor the logic for checking `workflow` scope checking in releases to be in the positive - check if the scope is there, not check if it isn't there. Then, when the function is called we invert it.

Also update comments to be more imperative.

This refactor also incorporates @andyfeller's suggestion to use `slices`.

Co-Authored-By: Andy Feller <andyfeller@github.com>
2024-11-23 13:17:09 -07:00
..
create.go Improve the help message for -F (#9525) 2024-08-28 11:00:46 -07:00
create_test.go Handle missing "workflow" scope in createRelease 2024-11-16 19:32:37 -07:00
http.go Refactor workflow scope checking 2024-11-23 13:17:09 -07:00