Skip to content

Commit ef42837

Browse files
committed
fix: 🐛 set secret
1 parent 655ebe5 commit ef42837

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/action.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@ export namespace Action {
2222
installationId,
2323
})
2424

25-
core.info(`Token: ${token}`)
26-
2725
const secretName = core.getInput('SECRET_NAME')
2826
if (secretName) {
29-
await Util.createOrUpdateRepoSecret(octokit, secretName, token)
27+
await Util.createOrUpdateRepoSecret(token, secretName, token)
3028
}
3129

3230
core.setSecret(token)

0 commit comments

Comments
 (0)