mirror of
https://github.com/docker/build-push-action.git
synced 2026-10-07 11:59:15 +00:00
log GitHub Actions runtime token access controls
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
7 files changed
+55
-5
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import jwt_decode, {JwtPayload} from 'jwt-decode';
|
||||
|
||||
interface Jwt extends JwtPayload {
|
||||
ac?: string;
|
||||
}
|
||||
|
||||
export const parseRuntimeToken = (token: string): Jwt => {
|
||||
return jwt_decode<Jwt>(token);
|
||||
};
|
||||
Reference in new issue
Block a user