Skip to content

Commit

Permalink
Update github-app-token-issuers (#128)
Browse files Browse the repository at this point in the history
Co-authored-by: HenryNguyen5 <HenryNguyen5@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and HenryNguyen5 committed Apr 16, 2024
1 parent 5092612 commit 5874ff7
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 14 deletions.
6 changes: 3 additions & 3 deletions github-app-token-issuer-buggy/action.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: github-token-issuer-action-buggy
runs:
using: node16
using: node20
main: dist/index.js
description: "NOTE: INTENTIONALLY BROKEN | Get an installation access token based on the current environmental AWS role"
description: 'NOTE: INTENTIONALLY BROKEN | Get an installation access token based on the current environmental AWS role'
inputs:
error-type:
description: "The type of error to throw, either 'timeout' or 'http' or 'action', see index.ts for more details"
required: true
error-timeout-duration-seconds:
description: "The number of seconds to wait before throwing the a timeout error"
description: 'The number of seconds to wait before throwing the a timeout error'
required: false
outputs:
access-token:
Expand Down
4 changes: 2 additions & 2 deletions github-app-token-issuer-buggy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@smartcontractkit/github-app-token-issuer-action-buggy",
"version": "0.0.4",
"version": "0.1.0",
"description": "An intentionally buggy version of the github action for interfacing with the token issuer service",
"main": "dist/index.js",
"files": [
Expand All @@ -20,6 +20,6 @@
},
"dependencies": {
"@actions/core": "^1.10.0",
"@types/node": "^18.15.5"
"@types/node": "^20.8.1"
}
}
2 changes: 1 addition & 1 deletion github-app-token-issuer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: .tool-versions

- name: Get github installation access token
id: get-gh-token
Expand Down
6 changes: 3 additions & 3 deletions github-app-token-issuer/action.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: github-token-issuer-action
runs:
using: node16
main: dist/index.js
using: node20
main: dist/index.mjs
description: Get an installation access token based on the current environmental AWS role
inputs:
url:
description: "The lambda function URL to invoke"
description: 'The lambda function URL to invoke'
required: true
outputs:
access-token:
Expand Down
58 changes: 58 additions & 0 deletions github-app-token-issuer/dist/index.mjs

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions github-app-token-issuer/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"name": "@smartcontractkit/github-app-token-issuer-action",
"version": "0.1.5",
"version": "0.2.0",
"description": "The github action for interfacing with the token issuer service",
"main": "dist/index.js",
"type": "module",
"main": "dist/index.mjs",
"files": [
"dist/index.js",
"dist/index.mjs",
"action.yml"
],
"scripts": {
"clean": "tsc -b --clean",
"build": "esbuild index.ts --minify --bundle --platform=node --outfile=dist/index.js",
"start": "node dist/index.js"
"build": "node ./build",
"start": "node ."
},
"keywords": [],
"author": "",
Expand Down

0 comments on commit 5874ff7

Please sign in to comment.