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:
semantic-release-bot
2024-01-19 15:45:52 +00:00
parent 0c014070f9
commit c4fa18d55c
2 changed files with 2 additions and 2 deletions

2
dist/post.cjs vendored
View File

@@ -3005,7 +3005,7 @@ async function post(core2, request2) {
} }
const expiresAt = core2.getState("expiresAt"); const expiresAt = core2.getState("expiresAt");
if (expiresAt && tokenExpiresIn(expiresAt) < 0) { if (expiresAt && tokenExpiresIn(expiresAt) < 0) {
core2.info("Token already expired"); core2.info("Token expired, skipping token revocation");
return; return;
} }
try { try {

View File

@@ -2,7 +2,7 @@
"name": "create-github-app-token", "name": "create-github-app-token",
"private": true, "private": true,
"type": "module", "type": "module",
"version": "1.6.3", "version": "1.6.4",
"description": "GitHub Action for creating a GitHub App Installation Access Token", "description": "GitHub Action for creating a GitHub App Installation Access Token",
"scripts": { "scripts": {
"build": "esbuild main.js post.js --bundle --outdir=dist --out-extension:.js=.cjs --platform=node --target=node20.0.0", "build": "esbuild main.js post.js --bundle --outdir=dist --out-extension:.js=.cjs --platform=node --target=node20.0.0",