mirror of
https://github.com/actions/create-github-app-token.git
synced 2026-12-05 15:22:56 +00:00
fix: include redacted token revocation errors
Co-authored-by: parkerbxyz <17183625+parkerbxyz@users.noreply.github.com>
This commit is contained in:
1 parent
de243d6818
commit
aeb28a5369
3 files changed
+5
-3
No files matched your search
+3
-1
@@ -33,7 +33,9 @@ export async function post(core, request) {
|
||||
});
|
||||
core.info("Token revoked");
|
||||
} catch (error) {
|
||||
core.warning(`Token revocation failed: ${error.message}`);
|
||||
core.warning(
|
||||
`Token revocation failed: ${error.message.replaceAll(token, "***")}`,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user