Skip to content

Commit

Permalink
Dev (#7)
Browse files Browse the repository at this point in the history
* 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 <semantic-release-bot@martynus.net>
  • Loading branch information
lepadatu and semantic-release-bot authored Sep 4, 2024
1 parent 1e425f8 commit 4df4884
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 103 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.env
coverage
node_modules/
.vscode
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"cSpell.words": [
"lepadatu"
]
}
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ In the vanilla action, the runner has direct access to sensitive information (i.

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.

>[!IMPORTANT]
>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.
>[!IMPORTANT]
>
>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.
>
>Using AWS KMS will generate extra costs in your AWS bill.

## Usage
Expand Down
90 changes: 1 addition & 89 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,11 @@
}
]
]
}
},
"main": "main.js",
"directories": {
"lib": "lib",
"test": "tests"
},
"author": ""
}
4 changes: 2 additions & 2 deletions tests/main-missing-kms-key-id.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
process.env.GITHUB_REPOSITORY_OWNER = "lepadatu-org";
process.env.GITHUB_REPOSITORY = "lepadatu-org/create-github-app-token-aws";
process.env.GITHUB_REPOSITORY_OWNER = "lepadatu-actions";
process.env.GITHUB_REPOSITORY = "lepadatu-actions/create-github-app-token-aws";
process.env["INPUT_APP-ID"] = "123456";

// Verify `main` exits with an error when neither the `kms-key-id` nor `kms_key_id` input is set.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ await test((mockPool) => {
method: "POST",
headers: {
accept: "application/vnd.github.v3+json",
"user-agent": "lepadatu-org/create-github-app-token-aws",
"user-agent": "lepadatu-actions/create-github-app-token-aws",
// Intentionally omitting the `authorization` header.
},
})
Expand Down
4 changes: 2 additions & 2 deletions tests/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import { MockAgent, setGlobalDispatcher } from "undici";

export const DEFAULT_ENV = {
GITHUB_REPOSITORY_OWNER: "lepadatu-org",
GITHUB_REPOSITORY: "lepadatu-org/create-github-app-token-aws",
GITHUB_REPOSITORY_OWNER: "lepadatu-actions",
GITHUB_REPOSITORY: "lepadatu-actions/create-github-app-token-aws",
// inputs are set as environment variables with the prefix INPUT_
// https://docs.github.com/actions/creating-actions/metadata-syntax-for-github-actions#example-specifying-inputs
"INPUT_GITHUB-API-URL": "https://api.github.com",
Expand Down
12 changes: 6 additions & 6 deletions tests/snapshots/index.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Generated by [AVA](https://avajs.dev).

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

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

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

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

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

> stdout
`owner not set, creating owner for given repositories "lepadatu-org/create-github-app-token-aws" in current owner ("lepadatu-org")␊
`owner not set, creating owner for given repositories "lepadatu-actions/create-github-app-token-aws" in current owner ("lepadatu-actions")␊
::add-mask::ghs_16C7e42F292c6912E7710c838347Ae178B4a␊
::set-output name=token::ghs_16C7e42F292c6912E7710c838347Ae178B4a␊
Expand Down
Binary file modified tests/snapshots/index.js.snap
Binary file not shown.

0 comments on commit 4df4884

Please sign in to comment.