Skip to content
This repository was archived by the owner on Jul 7, 2025. It is now read-only.

Commit 5ab5087

Browse files
committed
Print when token generated successfully
1 parent 0470095 commit 5ab5087

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "github-app-token",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"license": "MIT",
55
"files": [
66
"action.yml",

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getInput, setFailed, setOutput, setSecret } from "@actions/core";
1+
import { getInput, info, setFailed, setOutput, setSecret } from "@actions/core";
22
import { context, GitHub } from "@actions/github";
33
import { App } from "@octokit/app";
44
import isBase64 from "is-base64";
@@ -21,6 +21,7 @@ const run = async () => {
2121
});
2222
setSecret(token);
2323
setOutput("token", token);
24+
info("Token generated successfully!");
2425
} catch (error) {
2526
if (error instanceof Error) {
2627
setFailed(error.message);

0 commit comments

Comments
 (0)