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> |
||
|---|---|---|
| .. | ||
| create | ||
| delete | ||
| delete-asset | ||
| download | ||
| edit | ||
| list | ||
| shared | ||
| upload | ||
| view | ||
| release.go | ||