mirror of
https://github.com/actions/create-github-app-token.git
synced 2026-12-05 15:22:56 +00:00
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](https://github.com/actions/create-github-app-token/commit/0c014070f93045fed9b48f568f28b2f1cca37088)), closes [#72](https://github.com/actions/create-github-app-token/issues/72)
This commit is contained in:
1 parent
0c014070f9
commit
c4fa18d55c
2 files changed
+2
-2
No files matched your search
Vendored
+1
-1
@@ -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 {
|
||||
|
||||
+1
-1
@@ -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