From 8efbf9bf0ff7093c26fd1720e1722fd9cdd30fac Mon Sep 17 00:00:00 2001
From: Parker Brown <17183625+parkerbxyz@users.noreply.github.com>
Date: Sat, 22 Nov 2025 00:07:32 -0800
Subject: [PATCH 1/3] ci: create stale workflow (#309)
Introduces a GitHub Actions workflow that automatically marks issues and
pull requests as stale after 180 days of inactivity and closes them
after an additional 60 days. This helps keep the repository clean and
maintainable by prompting action on inactive items.
---
.github/workflows/stale.yml | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
create mode 100644 .github/workflows/stale.yml
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
new file mode 100644
index 0000000..e1cf89b
--- /dev/null
+++ b/.github/workflows/stale.yml
@@ -0,0 +1,34 @@
+# This workflow warns and then closes issues that have had no activity for a specified amount of time.
+# https://github.com/actions/stale
+
+name: Stale
+
+on:
+ workflow_dispatch:
+ schedule:
+ # 00:00 UTC on Mondays
+ - cron: '0 0 * * 1'
+
+permissions:
+ issues: write
+ pull-requests: write
+
+env:
+ DAYS_BEFORE_STALE: 180
+ DAYS_BEFORE_CLOSE: 60
+ STALE_LABEL: 'stale'
+ STALE_LABEL_URL: ${{github.server_url}}/${{github.repository}}/labels/stale
+
+jobs:
+ stale:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/stale@v10
+ with:
+ operations-per-run: 100
+ days-before-stale: ${{ env.DAYS_BEFORE_STALE }}
+ days-before-close: ${{ env.DAYS_BEFORE_CLOSE }}
+ stale-issue-label: ${{ env.STALE_LABEL }}
+ stale-pr-label: ${{ env.STALE_LABEL }}
+ stale-issue-message: 'This issue has been marked ${{ env.STALE_LABEL_URL }} because it has been open for ${{ env.DAYS_BEFORE_STALE }} days with no activity. Please close this issue if it is no longer needed. If this issue is still relevant and you would like it to remain open, simply update it within the next ${{ env.DAYS_BEFORE_CLOSE }} days.'
+ stale-pr-message: 'This pull request has been marked ${{ env.STALE_LABEL_URL }} because it has been open for ${{ env.DAYS_BEFORE_STALE }} days with no activity. Please close this pull request if it is no longer needed. If this pull request is still relevant and you would like it to remain open, simply update it within the next ${{ env.DAYS_BEFORE_CLOSE }} days.'
From b212e6a739dec02d8488610fbaf8f049f82ee999 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Fri, 5 Dec 2025 14:52:29 -0800
Subject: [PATCH 2/3] fix(deps): bump the production-dependencies group with 2
updates (#311)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps the production-dependencies group with 2 updates:
[@octokit/auth-app](https://github.com/octokit/auth-app.js) and
[@octokit/request](https://github.com/octokit/request.js).
Updates `@octokit/auth-app` from 8.1.1 to 8.1.2
Release notes
Sourced from @octokit/auth-app's
releases.
v8.1.2
8.1.2
(2025-10-31)
Bug Fixes
- deps: update dependency
@octokit/types to v16 (#731)
(016958a)
Commits
016958a
fix(deps): update dependency @octokit/types to v16 (#731)
6290a83
ci(action): update peter-evans/create-or-update-comment action to v5 (#723)
767ba94
ci(action): update actions/setup-node action to v6 (#727)
a6b03f2
ci(action): update github/codeql-action action to v4 (#726)
f6eb9c8
chore(deps): update dependency node to v24 (#730)
f50e21a
ci(action): update actions/setup-node action to v5 (#718)
7f24cee
build(deps): lock file maintenance (#719)
- See full diff in compare
view
Updates `@octokit/request` from 10.0.5 to 10.0.7
Release notes
Sourced from @octokit/request's
releases.
v10.0.7
10.0.7
(2025-11-13)
Bug Fixes
- readme: properly structure the options for custom
agent (#786)
(f17c1c1),
closes #785
v10.0.6
10.0.6
(2025-10-30)
Bug Fixes
- deps: update dependency
@octokit/types to v16 (#783)
(1aeac56)
Commits
f17c1c1
fix(readme): properly structure the options for custom agent (#786)
ea46fa9
ci(action): update github/codeql-action action to v4 (#778)
8166d28
chore(deps): update vitest monorepo to v4 (major) (#781)
1aeac56
fix(deps): update dependency @octokit/types to v16 (#783)
b5b08a2
ci(action): update actions/setup-node action to v6 (#779)
9a78123
chore(deps): update dependency @types/node to v24 (#782)
- See full diff in compare
view
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore ` will
remove the ignore condition of the specified dependency and ignore
conditions
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 113 +++++++++++++++++++++++-----------------------
package.json | 2 +-
2 files changed, 57 insertions(+), 58 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index ff71d0c..c4e098c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -10,7 +10,7 @@
"license": "MIT",
"dependencies": {
"@actions/core": "^1.11.1",
- "@octokit/auth-app": "^8.1.1",
+ "@octokit/auth-app": "^8.1.2",
"@octokit/request": "^10.0.3",
"p-retry": "^7.1.0",
"undici": "^7.16.0"
@@ -697,16 +697,16 @@
}
},
"node_modules/@octokit/auth-app": {
- "version": "8.1.1",
- "resolved": "https://registry.npmjs.org/@octokit/auth-app/-/auth-app-8.1.1.tgz",
- "integrity": "sha512-yW9YUy1cuqWlz8u7908ed498wJFt42VYsYWjvepjojM4BdZSp4t+5JehFds7LfvYi550O/GaUI94rgbhswvxfA==",
+ "version": "8.1.2",
+ "resolved": "https://registry.npmjs.org/@octokit/auth-app/-/auth-app-8.1.2.tgz",
+ "integrity": "sha512-db8VO0PqXxfzI6GdjtgEFHY9tzqUql5xMFXYA12juq8TeTgPAuiiP3zid4h50lwlIP457p5+56PnJOgd2GGBuw==",
"license": "MIT",
"dependencies": {
- "@octokit/auth-oauth-app": "^9.0.2",
- "@octokit/auth-oauth-user": "^6.0.1",
- "@octokit/request": "^10.0.5",
- "@octokit/request-error": "^7.0.1",
- "@octokit/types": "^15.0.0",
+ "@octokit/auth-oauth-app": "^9.0.3",
+ "@octokit/auth-oauth-user": "^6.0.2",
+ "@octokit/request": "^10.0.6",
+ "@octokit/request-error": "^7.0.2",
+ "@octokit/types": "^16.0.0",
"toad-cache": "^3.7.0",
"universal-github-app-jwt": "^2.2.0",
"universal-user-agent": "^7.0.0"
@@ -716,15 +716,15 @@
}
},
"node_modules/@octokit/auth-oauth-app": {
- "version": "9.0.2",
- "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-app/-/auth-oauth-app-9.0.2.tgz",
- "integrity": "sha512-vmjSHeuHuM+OxZLzOuoYkcY3OPZ8erJ5lfswdTmm+4XiAKB5PmCk70bA1is4uwSl/APhRVAv4KHsgevWfEKIPQ==",
+ "version": "9.0.3",
+ "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-app/-/auth-oauth-app-9.0.3.tgz",
+ "integrity": "sha512-+yoFQquaF8OxJSxTb7rnytBIC2ZLbLqA/yb71I4ZXT9+Slw4TziV9j/kyGhUFRRTF2+7WlnIWsePZCWHs+OGjg==",
"license": "MIT",
"dependencies": {
- "@octokit/auth-oauth-device": "^8.0.2",
- "@octokit/auth-oauth-user": "^6.0.1",
- "@octokit/request": "^10.0.5",
- "@octokit/types": "^15.0.0",
+ "@octokit/auth-oauth-device": "^8.0.3",
+ "@octokit/auth-oauth-user": "^6.0.2",
+ "@octokit/request": "^10.0.6",
+ "@octokit/types": "^16.0.0",
"universal-user-agent": "^7.0.0"
},
"engines": {
@@ -732,14 +732,14 @@
}
},
"node_modules/@octokit/auth-oauth-device": {
- "version": "8.0.2",
- "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-device/-/auth-oauth-device-8.0.2.tgz",
- "integrity": "sha512-KW7Ywrz7ei7JX+uClWD2DN1259fnkoKuVdhzfpQ3/GdETaCj4Tx0IjvuJrwhP/04OhcMu5yR6tjni0V6LBihdw==",
+ "version": "8.0.3",
+ "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-device/-/auth-oauth-device-8.0.3.tgz",
+ "integrity": "sha512-zh2W0mKKMh/VWZhSqlaCzY7qFyrgd9oTWmTmHaXnHNeQRCZr/CXy2jCgHo4e4dJVTiuxP5dLa0YM5p5QVhJHbw==",
"license": "MIT",
"dependencies": {
- "@octokit/oauth-methods": "^6.0.1",
- "@octokit/request": "^10.0.5",
- "@octokit/types": "^15.0.0",
+ "@octokit/oauth-methods": "^6.0.2",
+ "@octokit/request": "^10.0.6",
+ "@octokit/types": "^16.0.0",
"universal-user-agent": "^7.0.0"
},
"engines": {
@@ -747,15 +747,15 @@
}
},
"node_modules/@octokit/auth-oauth-user": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-user/-/auth-oauth-user-6.0.1.tgz",
- "integrity": "sha512-vlKsL1KUUPvwXpv574zvmRd+/4JiDFXABIZNM39+S+5j2kODzGgjk7w5WtiQ1x24kRKNaE7v9DShNbw43UA3Hw==",
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-user/-/auth-oauth-user-6.0.2.tgz",
+ "integrity": "sha512-qLoPPc6E6GJoz3XeDG/pnDhJpTkODTGG4kY0/Py154i/I003O9NazkrwJwRuzgCalhzyIeWQ+6MDvkUmKXjg/A==",
"license": "MIT",
"dependencies": {
- "@octokit/auth-oauth-device": "^8.0.2",
- "@octokit/oauth-methods": "^6.0.1",
- "@octokit/request": "^10.0.5",
- "@octokit/types": "^15.0.0",
+ "@octokit/auth-oauth-device": "^8.0.3",
+ "@octokit/oauth-methods": "^6.0.2",
+ "@octokit/request": "^10.0.6",
+ "@octokit/types": "^16.0.0",
"universal-user-agent": "^7.0.0"
},
"engines": {
@@ -763,12 +763,12 @@
}
},
"node_modules/@octokit/endpoint": {
- "version": "11.0.1",
- "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-11.0.1.tgz",
- "integrity": "sha512-7P1dRAZxuWAOPI7kXfio88trNi/MegQ0IJD3vfgC3b+LZo1Qe6gRJc2v0mz2USWWJOKrB2h5spXCzGbw+fAdqA==",
+ "version": "11.0.2",
+ "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-11.0.2.tgz",
+ "integrity": "sha512-4zCpzP1fWc7QlqunZ5bSEjxc6yLAlRTnDwKtgXfcI/FxxGoqedDG8V2+xJ60bV2kODqcGB+nATdtap/XYq2NZQ==",
"license": "MIT",
"dependencies": {
- "@octokit/types": "^15.0.0",
+ "@octokit/types": "^16.0.0",
"universal-user-agent": "^7.0.2"
},
"engines": {
@@ -785,15 +785,15 @@
}
},
"node_modules/@octokit/oauth-methods": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/@octokit/oauth-methods/-/oauth-methods-6.0.1.tgz",
- "integrity": "sha512-xi6Iut3izMCFzXBJtxxJehxJmAKjE8iwj6L5+raPRwlTNKAbOOBJX7/Z8AF5apD4aXvc2skwIdOnC+CQ4QuA8Q==",
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/@octokit/oauth-methods/-/oauth-methods-6.0.2.tgz",
+ "integrity": "sha512-HiNOO3MqLxlt5Da5bZbLV8Zarnphi4y9XehrbaFMkcoJ+FL7sMxH/UlUsCVxpddVu4qvNDrBdaTVE2o4ITK8ng==",
"license": "MIT",
"dependencies": {
"@octokit/oauth-authorization-url": "^8.0.0",
- "@octokit/request": "^10.0.5",
- "@octokit/request-error": "^7.0.1",
- "@octokit/types": "^15.0.0"
+ "@octokit/request": "^10.0.6",
+ "@octokit/request-error": "^7.0.2",
+ "@octokit/types": "^16.0.0"
},
"engines": {
"node": ">= 20"
@@ -810,20 +810,20 @@
}
},
"node_modules/@octokit/openapi-types": {
- "version": "26.0.0",
- "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-26.0.0.tgz",
- "integrity": "sha512-7AtcfKtpo77j7Ts73b4OWhOZHTKo/gGY8bB3bNBQz4H+GRSWqx2yvj8TXRsbdTE0eRmYmXOEY66jM7mJ7LzfsA==",
+ "version": "27.0.0",
+ "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-27.0.0.tgz",
+ "integrity": "sha512-whrdktVs1h6gtR+09+QsNk2+FO+49j6ga1c55YZudfEG+oKJVvJLQi3zkOm5JjiUXAagWK2tI2kTGKJ2Ys7MGA==",
"license": "MIT"
},
"node_modules/@octokit/request": {
- "version": "10.0.5",
- "resolved": "https://registry.npmjs.org/@octokit/request/-/request-10.0.5.tgz",
- "integrity": "sha512-TXnouHIYLtgDhKo+N6mXATnDBkV05VwbR0TtMWpgTHIoQdRQfCSzmy/LGqR1AbRMbijq/EckC/E3/ZNcU92NaQ==",
+ "version": "10.0.7",
+ "resolved": "https://registry.npmjs.org/@octokit/request/-/request-10.0.7.tgz",
+ "integrity": "sha512-v93h0i1yu4idj8qFPZwjehoJx4j3Ntn+JhXsdJrG9pYaX6j/XRz2RmasMUHtNgQD39nrv/VwTWSqK0RNXR8upA==",
"license": "MIT",
"dependencies": {
- "@octokit/endpoint": "^11.0.1",
- "@octokit/request-error": "^7.0.1",
- "@octokit/types": "^15.0.0",
+ "@octokit/endpoint": "^11.0.2",
+ "@octokit/request-error": "^7.0.2",
+ "@octokit/types": "^16.0.0",
"fast-content-type-parse": "^3.0.0",
"universal-user-agent": "^7.0.2"
},
@@ -832,24 +832,24 @@
}
},
"node_modules/@octokit/request-error": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-7.0.1.tgz",
- "integrity": "sha512-CZpFwV4+1uBrxu7Cw8E5NCXDWFNf18MSY23TdxCBgjw1tXXHvTrZVsXlW8hgFTOLw8RQR1BBrMvYRtuyaijHMA==",
+ "version": "7.1.0",
+ "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-7.1.0.tgz",
+ "integrity": "sha512-KMQIfq5sOPpkQYajXHwnhjCC0slzCNScLHs9JafXc4RAJI+9f+jNDlBNaIMTvazOPLgb4BnlhGJOTbnN0wIjPw==",
"license": "MIT",
"dependencies": {
- "@octokit/types": "^15.0.0"
+ "@octokit/types": "^16.0.0"
},
"engines": {
"node": ">= 20"
}
},
"node_modules/@octokit/types": {
- "version": "15.0.0",
- "resolved": "https://registry.npmjs.org/@octokit/types/-/types-15.0.0.tgz",
- "integrity": "sha512-8o6yDfmoGJUIeR9OfYU0/TUJTnMPG2r68+1yEdUeG2Fdqpj8Qetg0ziKIgcBm0RW/j29H41WP37CYCEhp6GoHQ==",
+ "version": "16.0.0",
+ "resolved": "https://registry.npmjs.org/@octokit/types/-/types-16.0.0.tgz",
+ "integrity": "sha512-sKq+9r1Mm4efXW1FCk7hFSeJo4QKreL/tTbR0rz/qx/r1Oa2VV83LTA/H/MuCOX7uCIJmQVRKBcbmWoySjAnSg==",
"license": "MIT",
"dependencies": {
- "@octokit/openapi-types": "^26.0.0"
+ "@octokit/openapi-types": "^27.0.0"
}
},
"node_modules/@pkgjs/parseargs": {
@@ -985,7 +985,6 @@
"integrity": "sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==",
"dev": true,
"license": "MIT",
- "peer": true,
"bin": {
"acorn": "bin/acorn"
},
diff --git a/package.json b/package.json
index 4333aed..8ff3453 100644
--- a/package.json
+++ b/package.json
@@ -17,7 +17,7 @@
"license": "MIT",
"dependencies": {
"@actions/core": "^1.11.1",
- "@octokit/auth-app": "^8.1.1",
+ "@octokit/auth-app": "^8.1.2",
"@octokit/request": "^10.0.3",
"p-retry": "^7.1.0",
"undici": "^7.16.0"
From 29824e69f54612133e76f7eaac726eef6c875baf Mon Sep 17 00:00:00 2001
From: semantic-release-bot
Date: Fri, 5 Dec 2025 22:53:03 +0000
Subject: [PATCH 3/3] build(release): 2.2.1 [skip ci]
## [2.2.1](https://github.com/actions/create-github-app-token/compare/v2.2.0...v2.2.1) (2025-12-05)
### Bug Fixes
* **deps:** bump the production-dependencies group with 2 updates ([#311](https://github.com/actions/create-github-app-token/issues/311)) ([b212e6a](https://github.com/actions/create-github-app-token/commit/b212e6a739dec02d8488610fbaf8f049f82ee999))
---
dist/main.cjs | 85 ++++++++++++++++++++++++++---------------------
dist/post.cjs | 83 +++++++++++++++++++++++++--------------------
package-lock.json | 4 +--
package.json | 2 +-
4 files changed, 98 insertions(+), 76 deletions(-)
diff --git a/dist/main.cjs b/dist/main.cjs
index 785c91a..0371f56 100644
--- a/dist/main.cjs
+++ b/dist/main.cjs
@@ -9201,7 +9201,7 @@ var require_readable = __commonJS({
var kBody = Symbol("kBody");
var kAbort = Symbol("abort");
var kContentType = Symbol("kContentType");
- var noop = () => {
+ var noop2 = () => {
};
module2.exports = class BodyReadable extends Readable {
constructor({
@@ -9323,7 +9323,7 @@ var require_readable = __commonJS({
return new Promise((resolve, reject) => {
const signalListenerCleanup = signal ? util.addAbortListener(signal, () => {
this.destroy();
- }) : noop;
+ }) : noop2;
this.on("close", function() {
signalListenerCleanup();
if (signal && signal.aborted) {
@@ -9331,7 +9331,7 @@ var require_readable = __commonJS({
} else {
resolve(null);
}
- }).on("error", noop).on("data", function(chunk) {
+ }).on("error", noop2).on("data", function(chunk) {
limit -= chunk.length;
if (limit <= 0) {
this.destroy();
@@ -20879,7 +20879,7 @@ var require_util8 = __commonJS({
yield* this[kBody];
}
};
- function noop() {
+ function noop2() {
}
function wrapRequestBody(body) {
if (isStream(body)) {
@@ -21290,7 +21290,7 @@ var require_util8 = __commonJS({
}
var setupConnectTimeout = process.platform === "win32" ? (socketWeakRef, opts) => {
if (!opts.timeout) {
- return noop;
+ return noop2;
}
let s1 = null;
let s2 = null;
@@ -21306,7 +21306,7 @@ var require_util8 = __commonJS({
};
} : (socketWeakRef, opts) => {
if (!opts.timeout) {
- return noop;
+ return noop2;
}
let s1 = null;
const fastTimer = timers.setFastTimeout(() => {
@@ -25556,12 +25556,12 @@ var require_body2 = __commonJS({
random = (max) => Math.floor(Math.random() * max);
}
var textEncoder = new TextEncoder();
- function noop() {
+ function noop2() {
}
var streamRegistry = new FinalizationRegistry((weakRef) => {
const stream = weakRef.deref();
if (stream && !stream.locked && !isDisturbed(stream) && !isErrored(stream)) {
- stream.cancel("Response object has been garbage collected").catch(noop);
+ stream.cancel("Response object has been garbage collected").catch(noop2);
}
});
function extractBody(object, keepalive = false) {
@@ -27650,7 +27650,7 @@ var require_client2 = __commonJS({
var getDefaultNodeMaxHeaderSize = http && http.maxHeaderSize && Number.isInteger(http.maxHeaderSize) && http.maxHeaderSize > 0 ? () => http.maxHeaderSize : () => {
throw new InvalidArgumentError("http module not available or http.maxHeaderSize invalid");
};
- var noop = () => {
+ var noop2 = () => {
};
function getPipelining(client) {
return client[kPipelining] ?? client[kHTTPContext]?.defaultPipelining ?? 1;
@@ -27924,7 +27924,7 @@ var require_client2 = __commonJS({
return;
}
if (client.destroyed) {
- util.destroy(socket.on("error", noop), new ClientDestroyedError());
+ util.destroy(socket.on("error", noop2), new ClientDestroyedError());
client[kResume]();
return;
}
@@ -27932,7 +27932,7 @@ var require_client2 = __commonJS({
try {
client[kHTTPContext] = socket.alpnProtocol === "h2" ? connectH2(client, socket) : connectH1(client, socket);
} catch (err2) {
- socket.destroy().on("error", noop);
+ socket.destroy().on("error", noop2);
handleConnectError(client, err2, { host, hostname, protocol, port });
client[kResume]();
return;
@@ -28716,7 +28716,7 @@ var require_proxy_agent2 = __commonJS({
function defaultFactory(origin, opts) {
return new Pool(origin, opts);
}
- var noop = () => {
+ var noop2 = () => {
};
function defaultAgentFactory(origin, opts) {
if (opts.connections === 1) {
@@ -28833,7 +28833,7 @@ var require_proxy_agent2 = __commonJS({
servername: this[kProxyTls]?.servername || proxyHostname
});
if (statusCode !== 200) {
- socket.on("error", noop).destroy();
+ socket.on("error", noop2).destroy();
callback(new RequestAbortedError(`Proxy response (${statusCode}) !== 200 when HTTP Tunneling`));
}
if (opts2.protocol !== "https:") {
@@ -29500,7 +29500,7 @@ var require_readable2 = __commonJS({
var kContentLength = Symbol("kContentLength");
var kUsed = Symbol("kUsed");
var kBytesRead = Symbol("kBytesRead");
- var noop = () => {
+ var noop2 = () => {
};
var BodyReadable = class extends Readable {
/**
@@ -29725,7 +29725,7 @@ var require_readable2 = __commonJS({
} else {
this.on("close", resolve);
}
- this.on("error", noop).on("data", () => {
+ this.on("error", noop2).on("data", () => {
if (this[kBytesRead] > limit) {
this.destroy();
}
@@ -29894,7 +29894,7 @@ var require_api_request2 = __commonJS({
var { Readable } = require_readable2();
var { InvalidArgumentError, RequestAbortedError } = require_errors2();
var util = require_util8();
- function noop() {
+ function noop2() {
}
var RequestHandler = class extends AsyncResource {
constructor(opts, callback) {
@@ -29921,7 +29921,7 @@ var require_api_request2 = __commonJS({
super("UNDICI_REQUEST");
} catch (err) {
if (util.isStream(body)) {
- util.destroy(body.on("error", noop), err);
+ util.destroy(body.on("error", noop2), err);
}
throw err;
}
@@ -29944,7 +29944,7 @@ var require_api_request2 = __commonJS({
this.removeAbortListener = util.addAbortListener(signal, () => {
this.reason = signal.reason ?? new RequestAbortedError();
if (this.res) {
- util.destroy(this.res.on("error", noop), this.reason);
+ util.destroy(this.res.on("error", noop2), this.reason);
} else if (this.abort) {
this.abort(this.reason);
}
@@ -29997,7 +29997,7 @@ var require_api_request2 = __commonJS({
});
} catch (err) {
this.res = null;
- util.destroy(res.on("error", noop), err);
+ util.destroy(res.on("error", noop2), err);
queueMicrotask(() => {
throw err;
});
@@ -30022,13 +30022,13 @@ var require_api_request2 = __commonJS({
if (res) {
this.res = null;
queueMicrotask(() => {
- util.destroy(res.on("error", noop), err);
+ util.destroy(res.on("error", noop2), err);
});
}
if (body) {
this.body = null;
if (util.isStream(body)) {
- body.on("error", noop);
+ body.on("error", noop2);
util.destroy(body, err);
}
}
@@ -30124,7 +30124,7 @@ var require_api_stream2 = __commonJS({
var { InvalidArgumentError, InvalidReturnValueError } = require_errors2();
var util = require_util8();
var { addSignal, removeSignal } = require_abort_signal2();
- function noop() {
+ function noop2() {
}
var StreamHandler = class extends AsyncResource {
constructor(opts, factory, callback) {
@@ -30151,7 +30151,7 @@ var require_api_stream2 = __commonJS({
super("UNDICI_STREAM");
} catch (err) {
if (util.isStream(body)) {
- util.destroy(body.on("error", noop), err);
+ util.destroy(body.on("error", noop2), err);
}
throw err;
}
@@ -30293,7 +30293,7 @@ var require_api_pipeline2 = __commonJS({
} = require_errors2();
var util = require_util8();
var { addSignal, removeSignal } = require_abort_signal2();
- function noop() {
+ function noop2() {
}
var kResume = Symbol("resume");
var PipelineRequest = class extends Readable {
@@ -30353,7 +30353,7 @@ var require_api_pipeline2 = __commonJS({
this.abort = null;
this.context = null;
this.onInfo = onInfo || null;
- this.req = new PipelineRequest().on("error", noop);
+ this.req = new PipelineRequest().on("error", noop2);
this.ret = new Duplex({
readableObjectMode: opts.objectMode,
autoDestroy: true,
@@ -30424,7 +30424,7 @@ var require_api_pipeline2 = __commonJS({
context
});
} catch (err) {
- this.res.on("error", noop);
+ this.res.on("error", noop2);
throw err;
}
if (!body || typeof body.on !== "function") {
@@ -32646,7 +32646,7 @@ var require_redirect_handler = __commonJS({
var EE = require("node:events");
var redirectableStatusCodes = [300, 301, 302, 303, 307, 308];
var kBody = Symbol("body");
- var noop = () => {
+ var noop2 = () => {
};
var BodyAsyncIterable = class {
constructor(body) {
@@ -32709,14 +32709,14 @@ var require_redirect_handler = __commonJS({
if ((statusCode === 301 || statusCode === 302) && this.opts.method === "POST") {
this.opts.method = "GET";
if (util.isStream(this.opts.body)) {
- util.destroy(this.opts.body.on("error", noop));
+ util.destroy(this.opts.body.on("error", noop2));
}
this.opts.body = null;
}
if (statusCode === 303 && this.opts.method !== "HEAD") {
this.opts.method = "GET";
if (util.isStream(this.opts.body)) {
- util.destroy(this.opts.body.on("error", noop));
+ util.destroy(this.opts.body.on("error", noop2));
}
this.opts.body = null;
}
@@ -34104,7 +34104,7 @@ var require_cache_handler = __commonJS({
isEtagUsable
} = require_cache2();
var { parseHttpDate } = require_date();
- function noop() {
+ function noop2() {
}
var HEURISTICALLY_CACHEABLE_STATUS_CODES = [
200,
@@ -34185,7 +34185,7 @@ var require_cache_handler = __commonJS({
);
if (!util.safeHTTPMethods.includes(this.#cacheKey.method) && statusCode >= 200 && statusCode <= 399) {
try {
- this.#store.delete(this.#cacheKey)?.catch?.(noop);
+ this.#store.delete(this.#cacheKey)?.catch?.(noop2);
} catch {
}
return downstreamOnHeaders();
@@ -42681,7 +42681,7 @@ var RequestError = class extends Error {
*/
response;
constructor(message, statusCode, options) {
- super(message);
+ super(message, { cause: options.cause });
this.name = "HttpError";
this.status = Number.parseInt(statusCode);
if (Number.isNaN(this.status)) {
@@ -42705,7 +42705,7 @@ var RequestError = class extends Error {
};
// node_modules/@octokit/request/dist-bundle/index.js
-var VERSION2 = "10.0.5";
+var VERSION2 = "10.0.7";
var defaults_default = {
headers: {
"user-agent": `octokit-request.js/${VERSION2} ${getUserAgent()}`
@@ -42719,6 +42719,7 @@ function isPlainObject2(value) {
const Ctor = Object.prototype.hasOwnProperty.call(proto, "constructor") && proto.constructor;
return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value);
}
+var noop = () => "";
async function fetchWrapper(requestOptions) {
const fetch = requestOptions.request?.fetch || globalThis.fetch;
if (!fetch) {
@@ -42820,7 +42821,7 @@ async function fetchWrapper(requestOptions) {
async function getResponseData(response) {
const contentType = response.headers.get("content-type");
if (!contentType) {
- return response.text().catch(() => "");
+ return response.text().catch(noop);
}
const mimetype = (0, import_fast_content_type_parse.safeParse)(contentType);
if (isJSONResponse(mimetype)) {
@@ -42832,9 +42833,12 @@ async function getResponseData(response) {
return text;
}
} else if (mimetype.type.startsWith("text/") || mimetype.parameters.charset?.toLowerCase() === "utf-8") {
- return response.text().catch(() => "");
+ return response.text().catch(noop);
} else {
- return response.arrayBuffer().catch(() => new ArrayBuffer(0));
+ return response.arrayBuffer().catch(
+ /* v8 ignore next -- @preserve */
+ () => new ArrayBuffer(0)
+ );
}
}
function isJSONResponse(mimetype) {
@@ -44148,7 +44152,7 @@ async function sendRequestWithRetries(state, request2, options, createdAt, retri
return sendRequestWithRetries(state, request2, options, createdAt, retries);
}
}
-var VERSION6 = "8.1.1";
+var VERSION6 = "8.1.2";
function createAppAuth(options) {
if (!options.appId) {
throw new Error("[@octokit/auth-app] appId option is required");
@@ -44589,6 +44593,13 @@ undici/lib/websocket/frame.js:
undici/lib/web/websocket/frame.js:
(*! ws. MIT License. Einar Otto Stangvik *)
+@octokit/request-error/dist-src/index.js:
+ (* v8 ignore else -- @preserve -- Bug with vitest coverage where it sees an else branch that doesn't exist *)
+
+@octokit/request/dist-bundle/index.js:
+ (* v8 ignore next -- @preserve *)
+ (* v8 ignore else -- @preserve *)
+
toad-cache/dist/toad-cache.mjs:
(**
* toad-cache
diff --git a/dist/post.cjs b/dist/post.cjs
index 6b186a8..5040963 100644
--- a/dist/post.cjs
+++ b/dist/post.cjs
@@ -9195,7 +9195,7 @@ var require_readable = __commonJS({
var kBody = Symbol("kBody");
var kAbort = Symbol("abort");
var kContentType = Symbol("kContentType");
- var noop = () => {
+ var noop2 = () => {
};
module2.exports = class BodyReadable extends Readable {
constructor({
@@ -9317,7 +9317,7 @@ var require_readable = __commonJS({
return new Promise((resolve, reject) => {
const signalListenerCleanup = signal ? util.addAbortListener(signal, () => {
this.destroy();
- }) : noop;
+ }) : noop2;
this.on("close", function() {
signalListenerCleanup();
if (signal && signal.aborted) {
@@ -9325,7 +9325,7 @@ var require_readable = __commonJS({
} else {
resolve(null);
}
- }).on("error", noop).on("data", function(chunk) {
+ }).on("error", noop2).on("data", function(chunk) {
limit -= chunk.length;
if (limit <= 0) {
this.destroy();
@@ -20873,7 +20873,7 @@ var require_util8 = __commonJS({
yield* this[kBody];
}
};
- function noop() {
+ function noop2() {
}
function wrapRequestBody(body) {
if (isStream(body)) {
@@ -21284,7 +21284,7 @@ var require_util8 = __commonJS({
}
var setupConnectTimeout = process.platform === "win32" ? (socketWeakRef, opts) => {
if (!opts.timeout) {
- return noop;
+ return noop2;
}
let s1 = null;
let s2 = null;
@@ -21300,7 +21300,7 @@ var require_util8 = __commonJS({
};
} : (socketWeakRef, opts) => {
if (!opts.timeout) {
- return noop;
+ return noop2;
}
let s1 = null;
const fastTimer = timers.setFastTimeout(() => {
@@ -25550,12 +25550,12 @@ var require_body2 = __commonJS({
random = (max) => Math.floor(Math.random() * max);
}
var textEncoder = new TextEncoder();
- function noop() {
+ function noop2() {
}
var streamRegistry = new FinalizationRegistry((weakRef) => {
const stream = weakRef.deref();
if (stream && !stream.locked && !isDisturbed(stream) && !isErrored(stream)) {
- stream.cancel("Response object has been garbage collected").catch(noop);
+ stream.cancel("Response object has been garbage collected").catch(noop2);
}
});
function extractBody(object, keepalive = false) {
@@ -27644,7 +27644,7 @@ var require_client2 = __commonJS({
var getDefaultNodeMaxHeaderSize = http && http.maxHeaderSize && Number.isInteger(http.maxHeaderSize) && http.maxHeaderSize > 0 ? () => http.maxHeaderSize : () => {
throw new InvalidArgumentError("http module not available or http.maxHeaderSize invalid");
};
- var noop = () => {
+ var noop2 = () => {
};
function getPipelining(client) {
return client[kPipelining] ?? client[kHTTPContext]?.defaultPipelining ?? 1;
@@ -27918,7 +27918,7 @@ var require_client2 = __commonJS({
return;
}
if (client.destroyed) {
- util.destroy(socket.on("error", noop), new ClientDestroyedError());
+ util.destroy(socket.on("error", noop2), new ClientDestroyedError());
client[kResume]();
return;
}
@@ -27926,7 +27926,7 @@ var require_client2 = __commonJS({
try {
client[kHTTPContext] = socket.alpnProtocol === "h2" ? connectH2(client, socket) : connectH1(client, socket);
} catch (err2) {
- socket.destroy().on("error", noop);
+ socket.destroy().on("error", noop2);
handleConnectError(client, err2, { host, hostname, protocol, port });
client[kResume]();
return;
@@ -28710,7 +28710,7 @@ var require_proxy_agent2 = __commonJS({
function defaultFactory(origin, opts) {
return new Pool(origin, opts);
}
- var noop = () => {
+ var noop2 = () => {
};
function defaultAgentFactory(origin, opts) {
if (opts.connections === 1) {
@@ -28827,7 +28827,7 @@ var require_proxy_agent2 = __commonJS({
servername: this[kProxyTls]?.servername || proxyHostname
});
if (statusCode !== 200) {
- socket.on("error", noop).destroy();
+ socket.on("error", noop2).destroy();
callback(new RequestAbortedError(`Proxy response (${statusCode}) !== 200 when HTTP Tunneling`));
}
if (opts2.protocol !== "https:") {
@@ -29494,7 +29494,7 @@ var require_readable2 = __commonJS({
var kContentLength = Symbol("kContentLength");
var kUsed = Symbol("kUsed");
var kBytesRead = Symbol("kBytesRead");
- var noop = () => {
+ var noop2 = () => {
};
var BodyReadable = class extends Readable {
/**
@@ -29719,7 +29719,7 @@ var require_readable2 = __commonJS({
} else {
this.on("close", resolve);
}
- this.on("error", noop).on("data", () => {
+ this.on("error", noop2).on("data", () => {
if (this[kBytesRead] > limit) {
this.destroy();
}
@@ -29888,7 +29888,7 @@ var require_api_request2 = __commonJS({
var { Readable } = require_readable2();
var { InvalidArgumentError, RequestAbortedError } = require_errors2();
var util = require_util8();
- function noop() {
+ function noop2() {
}
var RequestHandler = class extends AsyncResource {
constructor(opts, callback) {
@@ -29915,7 +29915,7 @@ var require_api_request2 = __commonJS({
super("UNDICI_REQUEST");
} catch (err) {
if (util.isStream(body)) {
- util.destroy(body.on("error", noop), err);
+ util.destroy(body.on("error", noop2), err);
}
throw err;
}
@@ -29938,7 +29938,7 @@ var require_api_request2 = __commonJS({
this.removeAbortListener = util.addAbortListener(signal, () => {
this.reason = signal.reason ?? new RequestAbortedError();
if (this.res) {
- util.destroy(this.res.on("error", noop), this.reason);
+ util.destroy(this.res.on("error", noop2), this.reason);
} else if (this.abort) {
this.abort(this.reason);
}
@@ -29991,7 +29991,7 @@ var require_api_request2 = __commonJS({
});
} catch (err) {
this.res = null;
- util.destroy(res.on("error", noop), err);
+ util.destroy(res.on("error", noop2), err);
queueMicrotask(() => {
throw err;
});
@@ -30016,13 +30016,13 @@ var require_api_request2 = __commonJS({
if (res) {
this.res = null;
queueMicrotask(() => {
- util.destroy(res.on("error", noop), err);
+ util.destroy(res.on("error", noop2), err);
});
}
if (body) {
this.body = null;
if (util.isStream(body)) {
- body.on("error", noop);
+ body.on("error", noop2);
util.destroy(body, err);
}
}
@@ -30118,7 +30118,7 @@ var require_api_stream2 = __commonJS({
var { InvalidArgumentError, InvalidReturnValueError } = require_errors2();
var util = require_util8();
var { addSignal, removeSignal } = require_abort_signal2();
- function noop() {
+ function noop2() {
}
var StreamHandler = class extends AsyncResource {
constructor(opts, factory, callback) {
@@ -30145,7 +30145,7 @@ var require_api_stream2 = __commonJS({
super("UNDICI_STREAM");
} catch (err) {
if (util.isStream(body)) {
- util.destroy(body.on("error", noop), err);
+ util.destroy(body.on("error", noop2), err);
}
throw err;
}
@@ -30287,7 +30287,7 @@ var require_api_pipeline2 = __commonJS({
} = require_errors2();
var util = require_util8();
var { addSignal, removeSignal } = require_abort_signal2();
- function noop() {
+ function noop2() {
}
var kResume = Symbol("resume");
var PipelineRequest = class extends Readable {
@@ -30347,7 +30347,7 @@ var require_api_pipeline2 = __commonJS({
this.abort = null;
this.context = null;
this.onInfo = onInfo || null;
- this.req = new PipelineRequest().on("error", noop);
+ this.req = new PipelineRequest().on("error", noop2);
this.ret = new Duplex({
readableObjectMode: opts.objectMode,
autoDestroy: true,
@@ -30418,7 +30418,7 @@ var require_api_pipeline2 = __commonJS({
context
});
} catch (err) {
- this.res.on("error", noop);
+ this.res.on("error", noop2);
throw err;
}
if (!body || typeof body.on !== "function") {
@@ -32640,7 +32640,7 @@ var require_redirect_handler = __commonJS({
var EE = require("node:events");
var redirectableStatusCodes = [300, 301, 302, 303, 307, 308];
var kBody = Symbol("body");
- var noop = () => {
+ var noop2 = () => {
};
var BodyAsyncIterable = class {
constructor(body) {
@@ -32703,14 +32703,14 @@ var require_redirect_handler = __commonJS({
if ((statusCode === 301 || statusCode === 302) && this.opts.method === "POST") {
this.opts.method = "GET";
if (util.isStream(this.opts.body)) {
- util.destroy(this.opts.body.on("error", noop));
+ util.destroy(this.opts.body.on("error", noop2));
}
this.opts.body = null;
}
if (statusCode === 303 && this.opts.method !== "HEAD") {
this.opts.method = "GET";
if (util.isStream(this.opts.body)) {
- util.destroy(this.opts.body.on("error", noop));
+ util.destroy(this.opts.body.on("error", noop2));
}
this.opts.body = null;
}
@@ -34098,7 +34098,7 @@ var require_cache_handler = __commonJS({
isEtagUsable
} = require_cache2();
var { parseHttpDate } = require_date();
- function noop() {
+ function noop2() {
}
var HEURISTICALLY_CACHEABLE_STATUS_CODES = [
200,
@@ -34179,7 +34179,7 @@ var require_cache_handler = __commonJS({
);
if (!util.safeHTTPMethods.includes(this.#cacheKey.method) && statusCode >= 200 && statusCode <= 399) {
try {
- this.#store.delete(this.#cacheKey)?.catch?.(noop);
+ this.#store.delete(this.#cacheKey)?.catch?.(noop2);
} catch {
}
return downstreamOnHeaders();
@@ -42707,7 +42707,7 @@ var RequestError = class extends Error {
*/
response;
constructor(message, statusCode, options) {
- super(message);
+ super(message, { cause: options.cause });
this.name = "HttpError";
this.status = Number.parseInt(statusCode);
if (Number.isNaN(this.status)) {
@@ -42731,7 +42731,7 @@ var RequestError = class extends Error {
};
// node_modules/@octokit/request/dist-bundle/index.js
-var VERSION2 = "10.0.5";
+var VERSION2 = "10.0.7";
var defaults_default = {
headers: {
"user-agent": `octokit-request.js/${VERSION2} ${getUserAgent()}`
@@ -42745,6 +42745,7 @@ function isPlainObject2(value) {
const Ctor = Object.prototype.hasOwnProperty.call(proto, "constructor") && proto.constructor;
return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value);
}
+var noop = () => "";
async function fetchWrapper(requestOptions) {
const fetch = requestOptions.request?.fetch || globalThis.fetch;
if (!fetch) {
@@ -42846,7 +42847,7 @@ async function fetchWrapper(requestOptions) {
async function getResponseData(response) {
const contentType = response.headers.get("content-type");
if (!contentType) {
- return response.text().catch(() => "");
+ return response.text().catch(noop);
}
const mimetype = (0, import_fast_content_type_parse.safeParse)(contentType);
if (isJSONResponse(mimetype)) {
@@ -42858,9 +42859,12 @@ async function getResponseData(response) {
return text;
}
} else if (mimetype.type.startsWith("text/") || mimetype.parameters.charset?.toLowerCase() === "utf-8") {
- return response.text().catch(() => "");
+ return response.text().catch(noop);
} else {
- return response.arrayBuffer().catch(() => new ArrayBuffer(0));
+ return response.arrayBuffer().catch(
+ /* v8 ignore next -- @preserve */
+ () => new ArrayBuffer(0)
+ );
}
}
function isJSONResponse(mimetype) {
@@ -42944,4 +42948,11 @@ undici/lib/web/fetch/body.js:
undici/lib/websocket/frame.js:
undici/lib/web/websocket/frame.js:
(*! ws. MIT License. Einar Otto Stangvik *)
+
+@octokit/request-error/dist-src/index.js:
+ (* v8 ignore else -- @preserve -- Bug with vitest coverage where it sees an else branch that doesn't exist *)
+
+@octokit/request/dist-bundle/index.js:
+ (* v8 ignore next -- @preserve *)
+ (* v8 ignore else -- @preserve *)
*/
diff --git a/package-lock.json b/package-lock.json
index c4e098c..d25e95b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "create-github-app-token",
- "version": "2.2.0",
+ "version": "2.2.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "create-github-app-token",
- "version": "2.2.0",
+ "version": "2.2.1",
"license": "MIT",
"dependencies": {
"@actions/core": "^1.11.1",
diff --git a/package.json b/package.json
index 8ff3453..5db87f8 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "create-github-app-token",
"private": true,
"type": "module",
- "version": "2.2.0",
+ "version": "2.2.1",
"description": "GitHub Action for creating a GitHub App Installation Access Token",
"engines": {
"node": ">=20"