Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(revocation): avoid revoking expired tokens and fail gracefully #95

Merged
merged 5 commits into from
Jan 19, 2024

Conversation

joshmgross
Copy link
Member

@joshmgross joshmgross commented Jan 18, 2024

Fixes #72

If an Actions job is long enough, more than an hour can pass between creating and revoking the App token in the post-job clean up step. Since the token itself is used to authenticate with the revoke API, an expired token will fail to be revoked.

This PR saves the token expiration in the actions state and uses that in the post step to determine if the token can be revoked. I've also added error handling to the revoke token API call, as it's unlikely that users would want their job to fail if the token can't be revoked.

To Do

  • Implement tests
  • Fix existing snapshot tests that are failing

@joshmgross joshmgross marked this pull request as ready for review January 18, 2024 19:33
@joshmgross joshmgross requested review from gr2m, parkerbxyz and a team as code owners January 18, 2024 19:33
Copy link
Contributor

@gr2m gr2m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me, just a little nit!

I have seen cases where the time in the action runner environment was slightly out-of-sync with GitHub's API server time which caused problems, but given that you implemented a graceful handling of revocation errors we should be fine.

Let me know what this pull request is ready for final review

lib/post.js Outdated Show resolved Hide resolved
@joshmgross joshmgross requested a review from gr2m January 19, 2024 14:33
@gr2m gr2m changed the title Avoid revoking expired tokens and make token revocation best effort fix(revocation): avoid revoking expired tokens and fail gracefully Jan 19, 2024
Copy link
Contributor

@gr2m gr2m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great PR, thank you 💐

@gr2m gr2m merged commit 0c01407 into actions:main Jan 19, 2024
2 checks passed
create-app-token-action-releaser bot pushed a commit that referenced this pull request Jan 19, 2024
## [1.6.4](v1.6.3...v1.6.4) (2024-01-19)

### Bug Fixes

* **revocation:** avoid revoking expired tokens and fail gracefully ([#95](#95)) ([0c01407](0c01407)), closes [#72](#72)
@create-app-token-action-releaser

🎉 This PR is included in version 1.6.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@joshmgross joshmgross deleted the 72-fix-revoking-expired-tokens branch January 19, 2024 15:51
gr2m pushed a commit that referenced this pull request Jun 26, 2024
Closes #140 

The pull request at #95 introduced changes to avoid revoking expired
tokens by saving the `expiresAt` value in the state. The change,
however, used `core.setOutput` instead of `core.setState` meaning the
value is not saved in the state but rather available in the output.

```javascript
if (!skipTokenRevoke) {
    core.saveState("token", authentication.token);
    core.setOutput("expiresAt", authentication.expiresAt);
  }
```
This means that when we use the value downstream, it evaluates to an
empty string and the following code block is never run:

```javascript
 const expiresAt = core.getState("expiresAt"); 
 if (expiresAt && tokenExpiresIn(expiresAt) < 0) { 
   core.info("Token expired, skipping token revocation"); 
   return; 
 } 
```
This is a tiny PR to correct that typo.
create-app-token-action-releaser bot pushed a commit that referenced this pull request Jun 26, 2024
## [1.10.2](v1.10.1...v1.10.2) (2024-06-26)

### Bug Fixes

* do not revoke token if already expired ([#147](#147)) ([66a7045](66a7045)), closes [#140](#140) [#95](#95)
lepadatu pushed a commit to lepadatu-actions/create-github-app-token-aws that referenced this pull request Sep 2, 2024
# 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 ([actions#6](https://github.com/lepadatu-org/create-github-app-token-aws/issues/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)
lepadatu pushed a commit to lepadatu-actions/create-github-app-token-aws that referenced this pull request Sep 4, 2024
# 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)
lepadatu added a commit to lepadatu-actions/create-github-app-token-aws that referenced this pull request Sep 4, 2024
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do not attempt to revoke token if it already expired
2 participants