cli/pkg/cmd/release
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 Refactor workflow scope checking 2024-11-23 13:17:09 -07:00
delete Delete local tag when running gh release delete --cleanup-tag (#7884) 2023-09-07 12:04:15 +00:00
delete-asset Add --verify-tag to release edit command (#7646) 2023-07-07 14:23:39 +00:00
download Fix some typos raised by codespell 2024-01-17 15:34:49 +01:00
edit switch to [] characters for default info in usage strings 2024-02-01 21:35:31 +00:00
list fixed linting 2024-01-26 16:12:55 -05:00
shared Export databaseId for releases 2024-07-23 13:41:56 +02:00
upload Fix the description of gh release upload 2024-03-18 11:19:20 +00:00
view Export databaseId for releases 2024-07-23 13:41:56 +02:00
release.go Group PR, release, and repo subcommands 2022-12-21 14:47:59 +01:00