build(release): 1.6.4 [skip ci]
## [1.6.4](https://github.com/actions/create-github-app-token/compare/v1.6.3...v1.6.4) (2024-01-19) ### Bug Fixes * **revocation:** avoid revoking expired tokens and fail gracefully ([#95](https://github.com/actions/create-github-app-token/issues/95)) ([0c01407](0c014070f9)), closes [#72](https://github.com/actions/create-github-app-token/issues/72)
This commit is contained in:
2
dist/post.cjs
vendored
2
dist/post.cjs
vendored
@@ -3005,7 +3005,7 @@ async function post(core2, request2) {
|
||||
}
|
||||
const expiresAt = core2.getState("expiresAt");
|
||||
if (expiresAt && tokenExpiresIn(expiresAt) < 0) {
|
||||
core2.info("Token already expired");
|
||||
core2.info("Token expired, skipping token revocation");
|
||||
return;
|
||||
}
|
||||
try {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "create-github-app-token",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"version": "1.6.3",
|
||||
"version": "1.6.4",
|
||||
"description": "GitHub Action for creating a GitHub App Installation Access Token",
|
||||
"scripts": {
|
||||
"build": "esbuild main.js post.js --bundle --outdir=dist --out-extension:.js=.cjs --platform=node --target=node20.0.0",
|
||||
|
||||
Reference in New Issue
Block a user