fix(ci): restore security review comments and labels (#152526)

This commit is contained in:
Josh Avant 2026-09-19 00:10:53 -05:00 • committed by GitHub
parent 144adb922a
commit debd174b3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 24 additions and 3 deletions

View file

@ -135,7 +135,9 @@ export function createIssueMutationHelpers({
}) {
const ignoreUnavailableWritePermission = (action) => (error) => {
if (error?.status === 403) {
warn(`Skipping ${action}; token does not have write permission.`);
warn(
`Skipping ${action}; GitHub API rejected the request: ${sanitizeGuardDisplayValue(error.message)}`,
);
return;
}
if (error?.status === 404 || error?.status === 422) {