Skip to content

Commit 4df4884

Browse files
Dev (#7)
* First release * Org & README updates * Updated readme * updated .gitignore * modified the package files and workflows * Updated the release workflow * changed the workflows * updated the tests * workflow update * build(release): 1.0.0 [skip ci] # 1.0.0 (2024-09-02) ### Bug Fixes * **action-config:** prepare for release to marketplace ([actions#10](https://github.com/lepadatu-org/create-github-app-token-aws/issues/10)) ([12aa811](12aa811)) * check for token before revoking ([actions#30](https://github.com/lepadatu-org/create-github-app-token-aws/issues/30)) ([2540ed4](2540ed4)) * **ci:** release configuration ([#6](#6)) ([847634e](847634e)) * clarify `owner` input description ([actions#118](https://github.com/lepadatu-org/create-github-app-token-aws/issues/118)) ([d9bc169](d9bc169)) * **deps:** bump dependencies([actions#84](https://github.com/lepadatu-org/create-github-app-token-aws/issues/84)) ([474769d](474769d)), closes [#651](https://github.com/lepadatu-org/create-github-app-token-aws/issues/651) [#648](https://github.com/lepadatu-org/create-github-app-token-aws/issues/648) [#649](https://github.com/lepadatu-org/create-github-app-token-aws/issues/649) [#651](https://github.com/lepadatu-org/create-github-app-token-aws/issues/651) [#648](https://github.com/lepadatu-org/create-github-app-token-aws/issues/648) [#646](https://github.com/lepadatu-org/create-github-app-token-aws/issues/646) * **deps:** bump the production-dependencies group with 1 update ([actions#123](https://github.com/lepadatu-org/create-github-app-token-aws/issues/123)) ([beea7b8](beea7b8)), closes [nodejs/undici#2978](nodejs/undici#2978) [nodejs/undici#2971](nodejs/undici#2971) [nodejs/undici#2980](nodejs/undici#2980) [#2982](https://github.com/lepadatu-org/create-github-app-token-aws/issues/2982) [nodejs/undici#2983](nodejs/undici#2983) [nodejs/undici#2987](nodejs/undici#2987) [nodejs/undici#2991](nodejs/undici#2991) [#2986](https://github.com/lepadatu-org/create-github-app-token-aws/issues/2986) [nodejs/undici#2992](nodejs/undici#2992) [nodejs/undici#2985](nodejs/undici#2985) [nodejs/undici#2993](nodejs/undici#2993) [nodejs/undici#2995](nodejs/undici#2995) [nodejs/undici#2998](nodejs/undici#2998) [#2863](https://github.com/lepadatu-org/create-github-app-token-aws/issues/2863) [nodejs/undici#2999](nodejs/undici#2999) [nodejs/undici#3001](nodejs/undici#3001) [nodejs/undici#2971](nodejs/undici#2971) [nodejs/undici#2980](nodejs/undici#2980) [nodejs/undici#2983](nodejs/undici#2983) [nodejs/undici#2987](nodejs/undici#2987) [nodejs/undici#2991](nodejs/undici#2991) [nodejs/undici#2985](nodejs/undici#2985) [nodejs/undici#2995](nodejs/undici#2995) [nodejs/undici#2960](nodejs/undici#2960) [nodejs/undici#2959](nodejs/undici#2959) [nodejs/undici#2969](nodejs/undici#2969) [nodejs/undici#2962](nodejs/undici#2962) [nodejs/undici#2974](nodejs/undici#2974) [nodejs/undici#2967](nodejs/undici#2967) [nodejs/undici#2966](nodejs/undici#2966) [nodejs/undici#2969](nodejs/undici#2969) [nodejs/undici#2962](nodejs/undici#2962) [nodejs/undici#2826](nodejs/undici#2826) [nodejs/undici#2952](nodejs/undici#2952) [#3001](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3001) [#2863](https://github.com/lepadatu-org/create-github-app-token-aws/issues/2863) [#2999](https://github.com/lepadatu-org/create-github-app-token-aws/issues/2999) [#2998](https://github.com/lepadatu-org/create-github-app-token-aws/issues/2998) [#2993](https://github.com/lepadatu-org/create-github-app-token-aws/issues/2993) [#2986](https://github.com/lepadatu-org/create-github-app-token-aws/issues/2986) [#2992](https://github.com/lepadatu-org/create-github-app-token-aws/issues/2992) [#2991](https://github.com/lepadatu-org/create-github-app-token-aws/issues/2991) [#2987](https://github.com/lepadatu-org/create-github-app-token-aws/issues/2987) * **deps:** bump the production-dependencies group with 1 update ([actions#68](https://github.com/lepadatu-org/create-github-app-token-aws/issues/68)) ([6375dce](6375dce)) * **deps:** bump the production-dependencies group with 2 updates ([actions#138](https://github.com/lepadatu-org/create-github-app-token-aws/issues/138)) ([8d81a59](8d81a59)), closes [#606](https://github.com/lepadatu-org/create-github-app-token-aws/issues/606) [#606](https://github.com/lepadatu-org/create-github-app-token-aws/issues/606) [#605](https://github.com/lepadatu-org/create-github-app-token-aws/issues/605) [#604](https://github.com/lepadatu-org/create-github-app-token-aws/issues/604) [nodejs/undici#3295](nodejs/undici#3295) [nodejs/undici#3298](nodejs/undici#3298) [nodejs/undici#3294](nodejs/undici#3294) [nodejs/undici#3281](nodejs/undici#3281) [nodejs/undici#3286](nodejs/undici#3286) [nodejs/undici#3284](nodejs/undici#3284) [nodejs/undici#3291](nodejs/undici#3291) [nodejs/undici#3290](nodejs/undici#3290) [nodejs/undici#3283](nodejs/undici#3283) [nodejs/undici#3281](nodejs/undici#3281) [nodejs/undici#3263](nodejs/undici#3263) [nodejs/undici#3279](nodejs/undici#3279) [nodejs/undici#3227](nodejs/undici#3227) [nodejs/undici#3234](nodejs/undici#3234) [nodejs/undici#3240](nodejs/undici#3240) [nodejs/undici#3245](nodejs/undici#3245) [nodejs/undici#3241](nodejs/undici#3241) [nodejs/undici#3247](nodejs/undici#3247) [nodejs/undici#3248](nodejs/undici#3248) [nodejs/undici#3219](nodejs/undici#3219) [nodejs/undici#3251](nodejs/undici#3251) [nodejs/undici#3254](nodejs/undici#3254) [nodejs/undici#3258](nodejs/undici#3258) [nodejs/undici#3257](nodejs/undici#3257) [nodejs/undici#3259](nodejs/undici#3259) [nodejs/undici#3262](nodejs/undici#3262) [nodejs/undici#3264](nodejs/undici#3264) [nodejs/undici#3118](nodejs/undici#3118) [nodejs/undici#3269](nodejs/undici#3269) [#3301](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3301) [#3294](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3294) [#3298](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3298) [#3295](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3295) [#3293](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3293) [#3283](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3283) [#3290](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3290) [#3291](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3291) [#3284](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3284) [#3286](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3286) * **deps:** bump the production-dependencies group with 2 updates ([actions#94](https://github.com/lepadatu-org/create-github-app-token-aws/issues/94)) ([323044f](323044f)), closes [#562](https://github.com/lepadatu-org/create-github-app-token-aws/issues/562) [#557](https://github.com/lepadatu-org/create-github-app-token-aws/issues/557) [#562](https://github.com/lepadatu-org/create-github-app-token-aws/issues/562) [#560](https://github.com/lepadatu-org/create-github-app-token-aws/issues/560) [#559](https://github.com/lepadatu-org/create-github-app-token-aws/issues/559) [#558](https://github.com/lepadatu-org/create-github-app-token-aws/issues/558) [#557](https://github.com/lepadatu-org/create-github-app-token-aws/issues/557) [#553](https://github.com/lepadatu-org/create-github-app-token-aws/issues/553) [#552](https://github.com/lepadatu-org/create-github-app-token-aws/issues/552) [#551](https://github.com/lepadatu-org/create-github-app-token-aws/issues/551) [actions#75](https://github.com/lepadatu-org/create-github-app-token-aws/issues/75) [actions#75](https://github.com/lepadatu-org/create-github-app-token-aws/issues/75) * **deps:** bump the production-dependencies group with 3 updates ([actions#107](https://github.com/lepadatu-org/create-github-app-token-aws/issues/107)) ([f83fb27](f83fb27)), closes [#579](https://github.com/lepadatu-org/create-github-app-token-aws/issues/579) [#579](https://github.com/lepadatu-org/create-github-app-token-aws/issues/579) [#576](https://github.com/lepadatu-org/create-github-app-token-aws/issues/576) [#577](https://github.com/lepadatu-org/create-github-app-token-aws/issues/577) [#574](https://github.com/lepadatu-org/create-github-app-token-aws/issues/574) [#572](https://github.com/lepadatu-org/create-github-app-token-aws/issues/572) [#571](https://github.com/lepadatu-org/create-github-app-token-aws/issues/571) [#567](https://github.com/lepadatu-org/create-github-app-token-aws/issues/567) [#681](https://github.com/lepadatu-org/create-github-app-token-aws/issues/681) [#678](https://github.com/lepadatu-org/create-github-app-token-aws/issues/678) [#667](https://github.com/lepadatu-org/create-github-app-token-aws/issues/667) [#681](https://github.com/lepadatu-org/create-github-app-token-aws/issues/681) [#680](https://github.com/lepadatu-org/create-github-app-token-aws/issues/680) [#609](https://github.com/lepadatu-org/create-github-app-token-aws/issues/609) [#678](https://github.com/lepadatu-org/create-github-app-token-aws/issues/678) [#676](https://github.com/lepadatu-org/create-github-app-token-aws/issues/676) [#673](https://github.com/lepadatu-org/create-github-app-token-aws/issues/673) [#669](https://github.com/lepadatu-org/create-github-app-token-aws/issues/669) [#667](https://github.com/lepadatu-org/create-github-app-token-aws/issues/667) [#671](https://github.com/lepadatu-org/create-github-app-token-aws/issues/671) [nodejs/undici#2683](nodejs/undici#2683) [nodejs/undici#2645](nodejs/undici#2645) [nodejs/undici#2695](nodejs/undici#2695) [nodejs/undici#2699](nodejs/undici#2699) [nodejs/undici#2703](nodejs/undici#2703) [nodejs/undici#2644](nodejs/undici#2644) [nodejs/undici#2702](nodejs/undici#2702) [nodejs/undici#2706](nodejs/undici#2706) [nodejs/undici#2707](nodejs/undici#2707) [nodejs/undici#2644](nodejs/undici#2644) [#2707](https://github.com/lepadatu-org/create-github-app-token-aws/issues/2707) [#2706](https://github.com/lepadatu-org/create-github-app-token-aws/issues/2706) [#2702](https://github.com/lepadatu-org/create-github-app-token-aws/issues/2702) [#2644](https://github.com/lepadatu-org/create-github-app-token-aws/issues/2644) [#2703](https://github.com/lepadatu-org/create-github-app-token-aws/issues/2703) [#2699](https://github.com/lepadatu-org/create-github-app-token-aws/issues/2699) [#2695](https://github.com/lepadatu-org/create-github-app-token-aws/issues/2695) [#2645](https://github.com/lepadatu-org/create-github-app-token-aws/issues/2645) [#2683](https://github.com/lepadatu-org/create-github-app-token-aws/issues/2683) * **deps:** bump the production-dependencies group with 3 updates ([actions#51](https://github.com/lepadatu-org/create-github-app-token-aws/issues/51)) ([6d98b25](6d98b25)), closes [#1511](https://github.com/lepadatu-org/create-github-app-token-aws/issues/1511) [#535](https://github.com/lepadatu-org/create-github-app-token-aws/issues/535) [#535](https://github.com/lepadatu-org/create-github-app-token-aws/issues/535) [#533](https://github.com/lepadatu-org/create-github-app-token-aws/issues/533) [#531](https://github.com/lepadatu-org/create-github-app-token-aws/issues/531) [#530](https://github.com/lepadatu-org/create-github-app-token-aws/issues/530) [#524](https://github.com/lepadatu-org/create-github-app-token-aws/issues/524) [#637](https://github.com/lepadatu-org/create-github-app-token-aws/issues/637) [#637](https://github.com/lepadatu-org/create-github-app-token-aws/issues/637) [#631](https://github.com/lepadatu-org/create-github-app-token-aws/issues/631) [#626](https://github.com/lepadatu-org/create-github-app-token-aws/issues/626) * **deps:** bump undici from 6.10.2 to 6.11.1 ([actions#125](https://github.com/lepadatu-org/create-github-app-token-aws/issues/125)) ([3c223c7](3c223c7)), closes [#3024](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3024) [nodejs/undici#3044](nodejs/undici#3044) [#3023](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3023) [nodejs/undici#3025](nodejs/undici#3025) [nodejs/undici#3024](nodejs/undici#3024) [nodejs/undici#3034](nodejs/undici#3034) [nodejs/undici#3038](nodejs/undici#3038) [nodejs/undici#2947](nodejs/undici#2947) [nodejs/undici#3040](nodejs/undici#3040) [nodejs/undici#3036](nodejs/undici#3036) [nodejs/undici#3041](nodejs/undici#3041) [#3024](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3024) [#3041](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3041) [#3036](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3036) * **deps:** bump undici from 6.18.2 to 6.19.2 in the production-dependencies group ([actions#149](https://github.com/lepadatu-org/create-github-app-token-aws/issues/149)) ([cc82279](cc82279)), closes [#3337](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3337) [nodejs/undici#3338](nodejs/undici#3338) [nodejs/undici#3340](nodejs/undici#3340) [nodejs/undici#3332](nodejs/undici#3332) [nodejs/undici#3335](nodejs/undici#3335) [nodejs/undici#3305](nodejs/undici#3305) [nodejs/undici#3303](nodejs/undici#3303) [nodejs/undici#3304](nodejs/undici#3304) [nodejs/undici#3306](nodejs/undici#3306) [nodejs/undici#3309](nodejs/undici#3309) [nodejs/undici#3313](nodejs/undici#3313) [nodejs/undici#3311](nodejs/undici#3311) [nodejs/undici#3107](nodejs/undici#3107) [nodejs/undici#3302](nodejs/undici#3302) [nodejs/undici#3320](nodejs/undici#3320) [nodejs/undici#3321](nodejs/undici#3321) [nodejs/undici#3316](nodejs/undici#3316) [nodejs/undici#3318](nodejs/undici#3318) [nodejs/undici#3326](nodejs/undici#3326) [nodejs/undici#3324](nodejs/undici#3324) [nodejs/undici#3325](nodejs/undici#3325) [nodejs/undici#3316](nodejs/undici#3316) [nodejs/undici#3318](nodejs/undici#3318) [#3342](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3342) [#3332](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3332) [#3340](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3340) [#3337](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3337) [#3338](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3338) [#3336](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3336) [#3335](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3335) [#3325](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3325) [#3324](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3324) [#3326](https://github.com/lepadatu-org/create-github-app-token-aws/issues/3326) * **deps:** bump undici from 6.6.0 to 6.6.1 ([actions#103](https://github.com/lepadatu-org/create-github-app-token-aws/issues/103)) ([5195df7](5195df7)) * **deps:** update `[@octokit](https://github.com/octokit)` packages to latest ([actions#24](https://github.com/lepadatu-org/create-github-app-token-aws/issues/24)) ([b287cb8](b287cb8)) * do not revoke token if already expired ([actions#147](https://github.com/lepadatu-org/create-github-app-token-aws/issues/147)) ([66a7045](66a7045)), closes [actions#140](https://github.com/lepadatu-org/create-github-app-token-aws/issues/140) [actions#95](https://github.com/lepadatu-org/create-github-app-token-aws/issues/95) * **GHES:** respect `GITHUB_API_URL` when creating installation access token ([actions#38](https://github.com/lepadatu-org/create-github-app-token-aws/issues/38)) ([c08c5ac](c08c5ac)), closes [actions#36](https://github.com/lepadatu-org/create-github-app-token-aws/issues/36) * handle clock skew ([actions#87](https://github.com/lepadatu-org/create-github-app-token-aws/issues/87)) ([495056a](495056a)) * mask the installation token in logs ([actions#28](https://github.com/lepadatu-org/create-github-app-token-aws/issues/28)) ([bc256c2](bc256c2)) * **README:** fix name in usage examples ([actions#12](https://github.com/lepadatu-org/create-github-app-token-aws/issues/12)) ([cb1fcdd](cb1fcdd)) * **README:** update action name ([#5](#5)) ([c08b794](c08b794)) * **README:** update repository name, remove section for feature that is not yet implemented ([actions#9](https://github.com/lepadatu-org/create-github-app-token-aws/issues/9)) ([c04bb41](c04bb41)) * **release:** build `dist/` before release ([actions#33](https://github.com/lepadatu-org/create-github-app-token-aws/issues/33)) ([9a6a017](9a6a017)), closes [actions#32](https://github.com/lepadatu-org/create-github-app-token-aws/issues/32) * **release:** update version in `package.json` ([actions#35](https://github.com/lepadatu-org/create-github-app-token-aws/issues/35)) ([1dccc4c](1dccc4c)), closes [actions#34](https://github.com/lepadatu-org/create-github-app-token-aws/issues/34) * **revocation:** avoid revoking expired tokens and fail gracefully ([actions#95](https://github.com/lepadatu-org/create-github-app-token-aws/issues/95)) ([0c01407](0c01407)), closes [actions#72](https://github.com/lepadatu-org/create-github-app-token-aws/issues/72) ### Features * `github-api-url` ([actions#88](https://github.com/lepadatu-org/create-github-app-token-aws/issues/88)) ([837e275](837e275)), closes [actions#77](https://github.com/lepadatu-org/create-github-app-token-aws/issues/77) * **`private-key`:** escaped newlines will be replaced ([actions#132](https://github.com/lepadatu-org/create-github-app-token-aws/issues/132)) ([9d23fb9](9d23fb9)) * Add a `skip_token_revoke` input for configuring token revocation ([actions#54](https://github.com/lepadatu-org/create-github-app-token-aws/issues/54)) ([9ec88c4](9ec88c4)), closes [1#L46-L47](https://github.com/1/issues/L46-L47) [1#L132](https://github.com/1/issues/L132) * add GitHub Enterprise Server (GHES) support ([actions#36](https://github.com/lepadatu-org/create-github-app-token-aws/issues/36)) ([ede6c15](ede6c15)) * add proxy support ([actions#102](https://github.com/lepadatu-org/create-github-app-token-aws/issues/102)) ([1f82f7d](1f82f7d)) * add retry ([actions#79](https://github.com/lepadatu-org/create-github-app-token-aws/issues/79)) ([0f3b4d7](0f3b4d7)), closes [actions#71](https://github.com/lepadatu-org/create-github-app-token-aws/issues/71) * initial version ([#1](#1)) ([f456852](f456852)) * **outputs:** `app-slug` and `installation-id` ([actions#105](https://github.com/lepadatu-org/create-github-app-token-aws/issues/105)) ([babaff4](babaff4)) * support tokens scoped to multiple repositories within organization ([actions#46](https://github.com/lepadatu-org/create-github-app-token-aws/issues/46)) ([20fd863](20fd863)) * use `node20` as runner ([actions#23](https://github.com/lepadatu-org/create-github-app-token-aws/issues/23)) ([803e078](803e078)), closes [/github.com/actions/runner/issues/2619#issuecomment-1679003443](https://github.com//github.com/actions/runner/issues/2619/issues/issuecomment-1679003443) * use dash notation for inputs (deprecates underscore notation) ([actions#59](https://github.com/lepadatu-org/create-github-app-token-aws/issues/59)) ([7b1d2ae](7b1d2ae)), closes [actions#57](https://github.com/lepadatu-org/create-github-app-token-aws/issues/57) [/github.com/actions/issues/57#issuecomment-1751272252](https://github.com//github.com/actions/create-github-app-token/issues/57/issues/issuecomment-1751272252) * workflow update * First release * Org & README updates * updated * updated --------- Co-authored-by: semantic-release-bot <[email protected]>
1 parent 1e425f8 commit 4df4884

10 files changed

+32
-103
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.env
22
coverage
33
node_modules/
4+
.vscode

.vscode/settings.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"cSpell.words": [
3+
"lepadatu"
4+
]
5+
}

README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,13 @@ In the vanilla action, the runner has direct access to sensitive information (i.
88

99
This action mitigates this risk by importing the sensitive information in a very secure location (AWS KMS) which does not allow the retrieval of the sensitive information.
1010

11-
>[!IMPORTANT]
12-
>Neither this action, nor AWS is responsible for securing access to your AWS account. See the [shared responsibility model](https://docs.aws.amazon.com/whitepapers/latest/aws-risk-and-compliance/shared-responsibility-model.html). It is highly advised to use temporary AWS credentials scoped to the least privilege when accessing AWS API in order to sign the JWT token.
11+
>[!IMPORTANT]
12+
>
13+
>Neither this action, nor AWS is responsible for securing access to your AWS account. See the [shared responsibility model](https://docs.aws.amazon.com/whitepapers/latest/aws-risk-and-compliance/shared-responsibility-model.html).
14+
>
15+
>It is highly advised to use temporary AWS credentials scoped to the least privilege when accessing AWS API in order to sign the JWT token.
16+
>
17+
>Using AWS KMS will generate extra costs in your AWS bill.
1318
1419

1520
## Usage

package-lock.json

+1-89
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,11 @@
5050
}
5151
]
5252
]
53-
}
53+
},
54+
"main": "main.js",
55+
"directories": {
56+
"lib": "lib",
57+
"test": "tests"
58+
},
59+
"author": ""
5460
}

tests/main-missing-kms-key-id.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
process.env.GITHUB_REPOSITORY_OWNER = "lepadatu-org";
2-
process.env.GITHUB_REPOSITORY = "lepadatu-org/create-github-app-token-aws";
1+
process.env.GITHUB_REPOSITORY_OWNER = "lepadatu-actions";
2+
process.env.GITHUB_REPOSITORY = "lepadatu-actions/create-github-app-token-aws";
33
process.env["INPUT_APP-ID"] = "123456";
44

55
// Verify `main` exits with an error when neither the `kms-key-id` nor `kms_key_id` input is set.

tests/main-token-get-installation-access-token-fail-response.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ await test((mockPool) => {
1111
method: "POST",
1212
headers: {
1313
accept: "application/vnd.github.v3+json",
14-
"user-agent": "lepadatu-org/create-github-app-token-aws",
14+
"user-agent": "lepadatu-actions/create-github-app-token-aws",
1515
// Intentionally omitting the `authorization` header.
1616
},
1717
})

tests/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import { MockAgent, setGlobalDispatcher } from "undici";
44

55
export const DEFAULT_ENV = {
6-
GITHUB_REPOSITORY_OWNER: "lepadatu-org",
7-
GITHUB_REPOSITORY: "lepadatu-org/create-github-app-token-aws",
6+
GITHUB_REPOSITORY_OWNER: "lepadatu-actions",
7+
GITHUB_REPOSITORY: "lepadatu-actions/create-github-app-token-aws",
88
// inputs are set as environment variables with the prefix INPUT_
99
// https://docs.github.com/actions/creating-actions/metadata-syntax-for-github-actions#example-specifying-inputs
1010
"INPUT_GITHUB-API-URL": "https://api.github.com",

tests/snapshots/index.js.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Generated by [AVA](https://avajs.dev).
2424

2525
> stdout
2626
27-
`owner and repositories set, creating token for repositories "lepadatu-org/create-github-app-token-aws" owned by "lepadatu-org"␊
27+
`owner and repositories set, creating token for repositories "lepadatu-actions/create-github-app-token-aws" owned by "lepadatu-actions"␊
2828
::add-mask::ghs_16C7e42F292c6912E7710c838347Ae178B4a␊
2929
3030
::set-output name=token::ghs_16C7e42F292c6912E7710c838347Ae178B4a␊
@@ -93,7 +93,7 @@ Generated by [AVA](https://avajs.dev).
9393

9494
> stdout
9595
96-
`owner and repositories set, creating token for repositories "lepadatu-org/create-github-app-token-aws" owned by "lepadatu-org"␊
96+
`owner and repositories set, creating token for repositories "lepadatu-actions/create-github-app-token-aws" owned by "lepadatu-actions"␊
9797
::add-mask::ghs_16C7e42F292c6912E7710c838347Ae178B4a␊
9898
9999
::set-output name=token::ghs_16C7e42F292c6912E7710c838347Ae178B4a␊
@@ -132,7 +132,7 @@ Generated by [AVA](https://avajs.dev).
132132

133133
> stdout
134134
135-
`owner and repositories set, creating token for repositories "lepadatu-org/create-github-app-token-aws,actions/toolkit" owned by "lepadatu-org"␊
135+
`owner and repositories set, creating token for repositories "lepadatu-actions/create-github-app-token-aws,actions/toolkit" owned by "lepadatu-actions"␊
136136
::add-mask::ghs_16C7e42F292c6912E7710c838347Ae178B4a␊
137137
138138
::set-output name=token::ghs_16C7e42F292c6912E7710c838347Ae178B4a␊
@@ -151,7 +151,7 @@ Generated by [AVA](https://avajs.dev).
151151

152152
> stdout
153153
154-
`owner and repositories set, creating token for repositories "lepadatu-org/create-github-app-token-aws" owned by "lepadatu-org"␊
154+
`owner and repositories set, creating token for repositories "lepadatu-actions/create-github-app-token-aws" owned by "lepadatu-actions"␊
155155
::add-mask::ghs_16C7e42F292c6912E7710c838347Ae178B4a␊
156156
157157
::set-output name=token::ghs_16C7e42F292c6912E7710c838347Ae178B4a␊
@@ -170,7 +170,7 @@ Generated by [AVA](https://avajs.dev).
170170

171171
> stdout
172172
173-
`repositories not set, creating token for all repositories for given owner "lepadatu-org"␊
173+
`repositories not set, creating token for all repositories for given owner "lepadatu-actions"␊
174174
::add-mask::ghs_16C7e42F292c6912E7710c838347Ae178B4a␊
175175
176176
::set-output name=token::ghs_16C7e42F292c6912E7710c838347Ae178B4a␊
@@ -228,7 +228,7 @@ Generated by [AVA](https://avajs.dev).
228228

229229
> stdout
230230
231-
`owner not set, creating owner for given repositories "lepadatu-org/create-github-app-token-aws" in current owner ("lepadatu-org")␊
231+
`owner not set, creating owner for given repositories "lepadatu-actions/create-github-app-token-aws" in current owner ("lepadatu-actions")␊
232232
::add-mask::ghs_16C7e42F292c6912E7710c838347Ae178B4a␊
233233
234234
::set-output name=token::ghs_16C7e42F292c6912E7710c838347Ae178B4a␊

tests/snapshots/index.js.snap

-2 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)