-
Notifications
You must be signed in to change notification settings - Fork 424
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
Expose async-function argument type #402
Conversation
We are exposing the async-function argument type for jsDoc type declaration support. This means that we now could do: "npm i -D @types/github-script@github:actions/github-script" and the add: "@param {import('@types/github-script').AsyncFunctionArguments} AsyncFunctionArguments". This could obviously be done in other ways too, like using "@typed-actions/github-script" instead. But it seems better to use the actual source repository instead of a third-party library to import the type declaration.
👋 Hey @viktorlott, This is definitely an interesting idea, but I'm concerned this would push users in the wrong direction. If you're writing fully typed scripts and creating composite actions, you're probably better off just writing your own action - https://github.com/actions/typescript-action Could you share a bit more about your use case? |
For me, what I want is for the editor to be able to intelligently suggest when writing a workflow, because Additionally, the exported types maybe an alternative to issue #294 |
Hey @joshmgross, I totally see where you're coming from regarding the typical use of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@viktorlott I'm okay with adding these types, but I'd like to think a bit more about how extensively we document alternative setups. I still think it pushes users in the wrong direction about how to use this action, so I'm reluctant to document it as something we fully support and encourage.
Would you be willing to remove the documentation in docs/alternative-setup.md
?
We could put it in an discussion for now for users adopting more advanced scenarios.
@joshmgross Oh hey, I totally forgot about this PR.
I understand what you mean, and I'm totally fine with that; so I'll push a revision of this when I get home from work. Cheers! |
<title>Hello World!</title>
Hello World!We are using Node.js , Chromium , and Electron . |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/github-script](https://togithub.com/actions/github-script) | action | major | `v6.4.1` -> `v7.0.0` | --- ### Release Notes <details> <summary>actions/github-script (actions/github-script)</summary> ### [`v7.0.0`](https://togithub.com/actions/github-script/releases/tag/v7.0.0) [Compare Source](https://togithub.com/actions/github-script/compare/v6.4.1...v7.0.0) #### What's Changed - Add base-url option by [@​robandpdx](https://togithub.com/robandpdx) in [https://github.com/actions/github-script/pull/429](https://togithub.com/actions/github-script/pull/429) - Expose async-function argument type by [@​viktorlott](https://togithub.com/viktorlott) in [https://github.com/actions/github-script/pull/402](https://togithub.com/actions/github-script/pull/402), see for details https://github.com/actions/github-script#use-scripts-with-jsdoc-support - Update dependencies and use Node 20 by [@​joshmgross](https://togithub.com/joshmgross) in [https://github.com/actions/github-script/pull/425](https://togithub.com/actions/github-script/pull/425) #### New Contributors - [@​navarroaxel](https://togithub.com/navarroaxel) made their first contribution in [https://github.com/actions/github-script/pull/285](https://togithub.com/actions/github-script/pull/285) - [@​robandpdx](https://togithub.com/robandpdx) made their first contribution in [https://github.com/actions/github-script/pull/429](https://togithub.com/actions/github-script/pull/429) - [@​viktorlott](https://togithub.com/viktorlott) made their first contribution in [https://github.com/actions/github-script/pull/402](https://togithub.com/actions/github-script/pull/402) **Full Changelog**: actions/github-script@v6.4.1...v7.0.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/GoogleCloudPlatform/database-query-extension). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
[![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/github-script](https://togithub.com/actions/github-script) | action | major | `v6.4.1` -> `v7.0.0` | --- ### Release Notes <details> <summary>actions/github-script (actions/github-script)</summary> ### [`v7.0.0`](https://togithub.com/actions/github-script/releases/tag/v7.0.0) [Compare Source](https://togithub.com/actions/github-script/compare/v6.4.1...v7.0.0) #### What's Changed - Add base-url option by [@​robandpdx](https://togithub.com/robandpdx) in [https://github.com/actions/github-script/pull/429](https://togithub.com/actions/github-script/pull/429) - Expose async-function argument type by [@​viktorlott](https://togithub.com/viktorlott) in [https://github.com/actions/github-script/pull/402](https://togithub.com/actions/github-script/pull/402), see for details https://github.com/actions/github-script#use-scripts-with-jsdoc-support - Update dependencies and use Node 20 by [@​joshmgross](https://togithub.com/joshmgross) in [https://github.com/actions/github-script/pull/425](https://togithub.com/actions/github-script/pull/425) #### New Contributors - [@​navarroaxel](https://togithub.com/navarroaxel) made their first contribution in [https://github.com/actions/github-script/pull/285](https://togithub.com/actions/github-script/pull/285) - [@​robandpdx](https://togithub.com/robandpdx) made their first contribution in [https://github.com/actions/github-script/pull/429](https://togithub.com/actions/github-script/pull/429) - [@​viktorlott](https://togithub.com/viktorlott) made their first contribution in [https://github.com/actions/github-script/pull/402](https://togithub.com/actions/github-script/pull/402) **Full Changelog**: actions/github-script@v6.4.1...v7.0.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/levaintech/frontmatter). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/github-script](https://togithub.com/actions/github-script) | action | major | `v6.4.1` -> `v7.0.0` | --- ### Release Notes <details> <summary>actions/github-script (actions/github-script)</summary> ### [`v7.0.0`](https://togithub.com/actions/github-script/releases/tag/v7.0.0) [Compare Source](https://togithub.com/actions/github-script/compare/v6.4.1...v7.0.0) ##### What's Changed - Add base-url option by [@​robandpdx](https://togithub.com/robandpdx) in [https://github.com/actions/github-script/pull/429](https://togithub.com/actions/github-script/pull/429) - Expose async-function argument type by [@​viktorlott](https://togithub.com/viktorlott) in [https://github.com/actions/github-script/pull/402](https://togithub.com/actions/github-script/pull/402), see for details https://github.com/actions/github-script#use-scripts-with-jsdoc-support - Update dependencies and use Node 20 by [@​joshmgross](https://togithub.com/joshmgross) in [https://github.com/actions/github-script/pull/425](https://togithub.com/actions/github-script/pull/425) ##### New Contributors - [@​navarroaxel](https://togithub.com/navarroaxel) made their first contribution in [https://github.com/actions/github-script/pull/285](https://togithub.com/actions/github-script/pull/285) - [@​robandpdx](https://togithub.com/robandpdx) made their first contribution in [https://github.com/actions/github-script/pull/429](https://togithub.com/actions/github-script/pull/429) - [@​viktorlott](https://togithub.com/viktorlott) made their first contribution in [https://github.com/actions/github-script/pull/402](https://togithub.com/actions/github-script/pull/402) **Full Changelog**: actions/github-script@v6.4.1...v7.0.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/JoshuaKGoldberg/ts-api-utils). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/github-script](https://togithub.com/actions/github-script) | action | major | `v6.4.1` -> `v7.0.0` | --- ### Release Notes <details> <summary>actions/github-script (actions/github-script)</summary> ### [`v7.0.0`](https://togithub.com/actions/github-script/releases/tag/v7.0.0) [Compare Source](https://togithub.com/actions/github-script/compare/v6.4.1...v7.0.0) ##### What's Changed - Add base-url option by [@​robandpdx](https://togithub.com/robandpdx) in [https://github.com/actions/github-script/pull/429](https://togithub.com/actions/github-script/pull/429) - Expose async-function argument type by [@​viktorlott](https://togithub.com/viktorlott) in [https://github.com/actions/github-script/pull/402](https://togithub.com/actions/github-script/pull/402), see for details https://github.com/actions/github-script#use-scripts-with-jsdoc-support - Update dependencies and use Node 20 by [@​joshmgross](https://togithub.com/joshmgross) in [https://github.com/actions/github-script/pull/425](https://togithub.com/actions/github-script/pull/425) ##### New Contributors - [@​navarroaxel](https://togithub.com/navarroaxel) made their first contribution in [https://github.com/actions/github-script/pull/285](https://togithub.com/actions/github-script/pull/285) - [@​robandpdx](https://togithub.com/robandpdx) made their first contribution in [https://github.com/actions/github-script/pull/429](https://togithub.com/actions/github-script/pull/429) - [@​viktorlott](https://togithub.com/viktorlott) made their first contribution in [https://github.com/actions/github-script/pull/402](https://togithub.com/actions/github-script/pull/402) **Full Changelog**: actions/github-script@v6.4.1...v7.0.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/s1adem4n/soundcloud). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/github-script](https://togithub.com/actions/github-script) | action | major | `v6.4.0` -> `v7.0.1` | --- ### Release Notes <details> <summary>actions/github-script (actions/github-script)</summary> ### [`v7.0.1`](https://togithub.com/actions/github-script/releases/tag/v7.0.1) [Compare Source](https://togithub.com/actions/github-script/compare/v7.0.0...v7.0.1) ##### What's Changed - Avoid setting `baseUrl` to undefined when input is not provided by [@​joshmgross](https://togithub.com/joshmgross) in [https://github.com/actions/github-script/pull/439](https://togithub.com/actions/github-script/pull/439) **Full Changelog**: actions/github-script@v7.0.0...v7.0.1 ### [`v7.0.0`](https://togithub.com/actions/github-script/releases/tag/v7.0.0) [Compare Source](https://togithub.com/actions/github-script/compare/v6.4.1...v7.0.0) ##### What's Changed - Add base-url option by [@​robandpdx](https://togithub.com/robandpdx) in [https://github.com/actions/github-script/pull/429](https://togithub.com/actions/github-script/pull/429) - Expose async-function argument type by [@​viktorlott](https://togithub.com/viktorlott) in [https://github.com/actions/github-script/pull/402](https://togithub.com/actions/github-script/pull/402), see for details https://github.com/actions/github-script#use-scripts-with-jsdoc-support - Update dependencies and use Node 20 by [@​joshmgross](https://togithub.com/joshmgross) in [https://github.com/actions/github-script/pull/425](https://togithub.com/actions/github-script/pull/425) ##### New Contributors - [@​navarroaxel](https://togithub.com/navarroaxel) made their first contribution in [https://github.com/actions/github-script/pull/285](https://togithub.com/actions/github-script/pull/285) - [@​robandpdx](https://togithub.com/robandpdx) made their first contribution in [https://github.com/actions/github-script/pull/429](https://togithub.com/actions/github-script/pull/429) - [@​viktorlott](https://togithub.com/viktorlott) made their first contribution in [https://github.com/actions/github-script/pull/402](https://togithub.com/actions/github-script/pull/402) **Full Changelog**: actions/github-script@v6.4.1...v7.0.0 ### [`v6.4.1`](https://togithub.com/actions/github-script/releases/tag/v6.4.1) [Compare Source](https://togithub.com/actions/github-script/compare/v6.4.0...v6.4.1) #### What's Changed - Add [@​octokit/plugin-request-log](https://togithub.com/octokit/plugin-request-log), to produce debug output for requests by [@​mjpieters](https://togithub.com/mjpieters) in [https://github.com/actions/github-script/pull/358](https://togithub.com/actions/github-script/pull/358) - fix input handling by [@​mjpieters](https://togithub.com/mjpieters) in [https://github.com/actions/github-script/pull/357](https://togithub.com/actions/github-script/pull/357) - Remove unused dependencies by [@​mjpieters](https://togithub.com/mjpieters) in [https://github.com/actions/github-script/pull/356](https://togithub.com/actions/github-script/pull/356) - Default debug to current runner debug state by [@​mjpieters](https://togithub.com/mjpieters) in [https://github.com/actions/github-script/pull/363](https://togithub.com/actions/github-script/pull/363) #### New Contributors - [@​mjpieters](https://togithub.com/mjpieters) made their first contribution in [https://github.com/actions/github-script/pull/358](https://togithub.com/actions/github-script/pull/358) **Full Changelog**: actions/github-script@v6.4.0...v6.4.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Hapag-Lloyd/Renovate-Global-Configuration). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/github-script](https://togithub.com/actions/github-script) | action | major | `v6.4.1` -> `v7.0.1` | --- ### Release Notes <details> <summary>actions/github-script (actions/github-script)</summary> ### [`v7.0.1`](https://togithub.com/actions/github-script/releases/tag/v7.0.1) [Compare Source](https://togithub.com/actions/github-script/compare/v7.0.0...v7.0.1) ##### What's Changed - Avoid setting `baseUrl` to undefined when input is not provided by [@​joshmgross](https://togithub.com/joshmgross) in [https://github.com/actions/github-script/pull/439](https://togithub.com/actions/github-script/pull/439) **Full Changelog**: actions/github-script@v7.0.0...v7.0.1 ### [`v7.0.0`](https://togithub.com/actions/github-script/releases/tag/v7.0.0) [Compare Source](https://togithub.com/actions/github-script/compare/v6.4.1...v7.0.0) #### What's Changed - Add base-url option by [@​robandpdx](https://togithub.com/robandpdx) in [https://github.com/actions/github-script/pull/429](https://togithub.com/actions/github-script/pull/429) - Expose async-function argument type by [@​viktorlott](https://togithub.com/viktorlott) in [https://github.com/actions/github-script/pull/402](https://togithub.com/actions/github-script/pull/402), see for details https://github.com/actions/github-script#use-scripts-with-jsdoc-support - Update dependencies and use Node 20 by [@​joshmgross](https://togithub.com/joshmgross) in [https://github.com/actions/github-script/pull/425](https://togithub.com/actions/github-script/pull/425) #### New Contributors - [@​navarroaxel](https://togithub.com/navarroaxel) made their first contribution in [https://github.com/actions/github-script/pull/285](https://togithub.com/actions/github-script/pull/285) - [@​robandpdx](https://togithub.com/robandpdx) made their first contribution in [https://github.com/actions/github-script/pull/429](https://togithub.com/actions/github-script/pull/429) - [@​viktorlott](https://togithub.com/viktorlott) made their first contribution in [https://github.com/actions/github-script/pull/402](https://togithub.com/actions/github-script/pull/402) **Full Changelog**: actions/github-script@v6.4.1...v7.0.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Hapag-Lloyd/terraform-aws-bastion-host-ssm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/github-script](https://togithub.com/actions/github-script) | action | major | `v6.4.1` -> `v7.0.1` | --- ### Release Notes <details> <summary>actions/github-script (actions/github-script)</summary> ### [`v7.0.1`](https://togithub.com/actions/github-script/releases/tag/v7.0.1) [Compare Source](https://togithub.com/actions/github-script/compare/v7.0.0...v7.0.1) ##### What's Changed - Avoid setting `baseUrl` to undefined when input is not provided by [@​joshmgross](https://togithub.com/joshmgross) in [https://github.com/actions/github-script/pull/439](https://togithub.com/actions/github-script/pull/439) **Full Changelog**: actions/github-script@v7.0.0...v7.0.1 ### [`v7.0.0`](https://togithub.com/actions/github-script/releases/tag/v7.0.0) [Compare Source](https://togithub.com/actions/github-script/compare/v6.4.1...v7.0.0) #### What's Changed - Add base-url option by [@​robandpdx](https://togithub.com/robandpdx) in [https://github.com/actions/github-script/pull/429](https://togithub.com/actions/github-script/pull/429) - Expose async-function argument type by [@​viktorlott](https://togithub.com/viktorlott) in [https://github.com/actions/github-script/pull/402](https://togithub.com/actions/github-script/pull/402), see for details https://github.com/actions/github-script#use-scripts-with-jsdoc-support - Update dependencies and use Node 20 by [@​joshmgross](https://togithub.com/joshmgross) in [https://github.com/actions/github-script/pull/425](https://togithub.com/actions/github-script/pull/425) #### New Contributors - [@​navarroaxel](https://togithub.com/navarroaxel) made their first contribution in [https://github.com/actions/github-script/pull/285](https://togithub.com/actions/github-script/pull/285) - [@​robandpdx](https://togithub.com/robandpdx) made their first contribution in [https://github.com/actions/github-script/pull/429](https://togithub.com/actions/github-script/pull/429) - [@​viktorlott](https://togithub.com/viktorlott) made their first contribution in [https://github.com/actions/github-script/pull/402](https://togithub.com/actions/github-script/pull/402) **Full Changelog**: actions/github-script@v6.4.1...v7.0.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Hapag-Lloyd/dist-comm-vis). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Bumps [actions/github-script](https://github.com/actions/github-script) from 6.4.0 to 7.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/github- script/releases">actions/github-script's releases</a>.</em></p> <blockquote> <h2>v7.0.1</h2> <h2>What's Changed</h2> <ul> <li>Avoid setting <code>baseUrl</code> to undefined when input is not provided by <a href="https://github.com/joshmgross"><code>@joshmgross</code></a> in <a href="https://redirect.github.com/actions/github- script/pull/439">actions/github-script#439</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/github- script/compare/v7.0.0...v7.0.1">https://github.com/actions/github- script/compare/v7.0.0...v7.0.1</a></p> <h2>v7.0.0</h2> <h2>What's Changed</h2> <ul> <li>Add base-url option by <a href="https://github.com/robandpdx"><code>@robandpdx</code></a> in <a href="https://redirect.github.com/actions/github- script/pull/429">actions/github-script#429</a></li> <li>Expose async-function argument type by <a href="https://github.com/viktorlott"><code>@viktorlott</code></a> in <a href="https://redirect.github.com/actions/github- script/pull/402">actions/github-script#402</a>, see for details <a href="https://github.com/actions/github-script#use-scripts-with-jsdoc- support">https://github.com/actions/github-script#use-scripts-with- jsdoc-support</a></li> <li>Update dependencies and use Node 20 by <a href="https://github.com/joshmgross"><code>@joshmgross</code></a> in <a href="https://redirect.github.com/actions/github- script/pull/425">actions/github-script#425</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/navarroaxel"><code>@navarroaxel</code></a> made their first contribution in <a href="https://redirect.github.com/actions/github- script/pull/285">actions/github-script#285</a></li> <li><a href="https://github.com/robandpdx"><code>@robandpdx</code></a> made their first contribution in <a href="https://redirect.github.com/actions/github- script/pull/429">actions/github-script#429</a></li> <li><a href="https://github.com/viktorlott"><code>@viktorlott</code></a> made their first contribution in <a href="https://redirect.github.com/actions/github- script/pull/402">actions/github-script#402</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/github- script/compare/v6.4.1...v7.0.0">https://github.com/actions/github- script/compare/v6.4.1...v7.0.0</a></p> <h2>v6.4.1</h2> <h2>What's Changed</h2> <ul> <li>Add <code>@octokit/plugin-request-log</code>, to produce debug output for requests by <a href="https://github.com/mjpieters"><code>@mjpieters</code></a> in <a href="https://redirect.github.com/actions/github- script/pull/358">actions/github-script#358</a></li> <li>fix input handling by <a href="https://github.com/mjpieters"><code>@mjpieters</code></a> in <a href="https://redirect.github.com/actions/github- script/pull/357">actions/github-script#357</a></li> <li>Remove unused dependencies by <a href="https://github.com/mjpieters"><code>@mjpieters</code></a> in <a href="https://redirect.github.com/actions/github- script/pull/356">actions/github-script#356</a></li> <li>Default debug to current runner debug state by <a href="https://github.com/mjpieters"><code>@mjpieters</code></a> in <a href="https://redirect.github.com/actions/github- script/pull/363">actions/github-script#363</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/mjpieters"><code>@mjpieters</code></a> made their first contribution in <a href="https://redirect.github.com/actions/github- script/pull/358">actions/github-script#358</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/github- script/compare/v6.4.0...v6.4.1">https://github.com/actions/github- script/compare/v6.4.0...v6.4.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="actions/github-script@60a0d83039c 74a4aee543508d2ffcb1c3799cdea"><code>60a0d83</code></a> Merge pull request <a href="https://redirect.github.com/actions/github- script/issues/440">sagemath#440</a> from actions/joshmgross/v7.0.1</li> <li><a href="actions/github-script@b7fb2001b41 0c9390cbe9e2c7d5cab7eefb7b29c"><code>b7fb200</code></a> Update version to 7.0.1</li> <li><a href="actions/github-script@12e22ed06b6 cf302663f90a925045516e24c8bad"><code>12e22ed</code></a> Merge pull request <a href="https://redirect.github.com/actions/github- script/issues/439">sagemath#439</a> from actions/joshmgross/avoid-setting-base- url</li> <li><a href="actions/github-script@d319f8f5b55 ea40916b869b2ca9ae2f059c60abf"><code>d319f8f</code></a> Avoid setting <code>baseUrl</code> to undefined when input is not provided</li> <li><a href="actions/github-script@e69ef5462fd 455e02edcaf4dd7708eda96b9eda0"><code>e69ef54</code></a> Merge pull request <a href="https://redirect.github.com/actions/github- script/issues/425">sagemath#425</a> from actions/joshmgross/node-20</li> <li><a href="actions/github-script@ee0914b839b 704083a749f8c77a73a9270674a32"><code>ee0914b</code></a> Update licenses</li> <li><a href="actions/github-script@d6fc56f33b0 17d55917d045da1a94efa2120f039"><code>d6fc56f</code></a> Use <code>@types/node</code> for Node 20</li> <li><a href="actions/github-script@384d6cf5814 52587d1e31f553c97ab165427124a"><code>384d6cf</code></a> Fix quotations in tests</li> <li><a href="actions/github-script@84724927e3e 992f17768c17f57a47a85ea2a5160"><code>8472492</code></a> Only validate GraphQL <code>previews</code></li> <li><a href="actions/github-script@84903f51828 821af5d03d3884c6ba699a2d44d6e"><code>84903f5</code></a> Remove <code>node-fetch</code> from type</li> <li>Additional commits viewable in <a href="https://github.com/actions/github- script/compare/v6.4.0...v7.0.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot- badges.githubapp.com/badges/compatibility_score?dependency- name=actions/github-script&package-manager=github_actions&previous- version=6.4.0&new- version=7.0.1)](https://docs.github.com/en/github/managing-security- vulnerabilities/about-dependabot-security-updates#about-compatibility- scores) 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) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> URL: sagemath#36739 Reported by: dependabot[bot] Reviewer(s): Kwankyu Lee
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/github-script](https://togithub.com/actions/github-script) | action | major | `v6.4.1` -> `v7.0.1` | --- ### Release Notes <details> <summary>actions/github-script (actions/github-script)</summary> ### [`v7.0.1`](https://togithub.com/actions/github-script/releases/tag/v7.0.1) [Compare Source](https://togithub.com/actions/github-script/compare/v7.0.0...v7.0.1) ##### What's Changed - Avoid setting `baseUrl` to undefined when input is not provided by [@​joshmgross](https://togithub.com/joshmgross) in [https://github.com/actions/github-script/pull/439](https://togithub.com/actions/github-script/pull/439) **Full Changelog**: actions/github-script@v7.0.0...v7.0.1 ### [`v7.0.0`](https://togithub.com/actions/github-script/releases/tag/v7.0.0) [Compare Source](https://togithub.com/actions/github-script/compare/v6.4.1...v7.0.0) #### What's Changed - Add base-url option by [@​robandpdx](https://togithub.com/robandpdx) in [https://github.com/actions/github-script/pull/429](https://togithub.com/actions/github-script/pull/429) - Expose async-function argument type by [@​viktorlott](https://togithub.com/viktorlott) in [https://github.com/actions/github-script/pull/402](https://togithub.com/actions/github-script/pull/402), see for details https://github.com/actions/github-script#use-scripts-with-jsdoc-support - Update dependencies and use Node 20 by [@​joshmgross](https://togithub.com/joshmgross) in [https://github.com/actions/github-script/pull/425](https://togithub.com/actions/github-script/pull/425) #### New Contributors - [@​navarroaxel](https://togithub.com/navarroaxel) made their first contribution in [https://github.com/actions/github-script/pull/285](https://togithub.com/actions/github-script/pull/285) - [@​robandpdx](https://togithub.com/robandpdx) made their first contribution in [https://github.com/actions/github-script/pull/429](https://togithub.com/actions/github-script/pull/429) - [@​viktorlott](https://togithub.com/viktorlott) made their first contribution in [https://github.com/actions/github-script/pull/402](https://togithub.com/actions/github-script/pull/402) **Full Changelog**: actions/github-script@v6.4.1...v7.0.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/levaintech/sticky). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEwMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/github-script](https://togithub.com/actions/github-script) | action | major | `v6.4.1` -> `v7.0.1` | --- ### Release Notes <details> <summary>actions/github-script (actions/github-script)</summary> ### [`v7.0.1`](https://togithub.com/actions/github-script/releases/tag/v7.0.1) [Compare Source](https://togithub.com/actions/github-script/compare/v7.0.0...v7.0.1) #### What's Changed - Avoid setting `baseUrl` to undefined when input is not provided by [@​joshmgross](https://togithub.com/joshmgross) in [https://github.com/actions/github-script/pull/439](https://togithub.com/actions/github-script/pull/439) **Full Changelog**: actions/github-script@v7.0.0...v7.0.1 ### [`v7.0.0`](https://togithub.com/actions/github-script/releases/tag/v7.0.0) [Compare Source](https://togithub.com/actions/github-script/compare/v6.4.1...v7.0.0) #### What's Changed - Add base-url option by [@​robandpdx](https://togithub.com/robandpdx) in [https://github.com/actions/github-script/pull/429](https://togithub.com/actions/github-script/pull/429) - Expose async-function argument type by [@​viktorlott](https://togithub.com/viktorlott) in [https://github.com/actions/github-script/pull/402](https://togithub.com/actions/github-script/pull/402), see for details https://github.com/actions/github-script#use-scripts-with-jsdoc-support - Update dependencies and use Node 20 by [@​joshmgross](https://togithub.com/joshmgross) in [https://github.com/actions/github-script/pull/425](https://togithub.com/actions/github-script/pull/425) #### New Contributors - [@​navarroaxel](https://togithub.com/navarroaxel) made their first contribution in [https://github.com/actions/github-script/pull/285](https://togithub.com/actions/github-script/pull/285) - [@​robandpdx](https://togithub.com/robandpdx) made their first contribution in [https://github.com/actions/github-script/pull/429](https://togithub.com/actions/github-script/pull/429) - [@​viktorlott](https://togithub.com/viktorlott) made their first contribution in [https://github.com/actions/github-script/pull/402](https://togithub.com/actions/github-script/pull/402) **Full Changelog**: actions/github-script@v6.4.1...v7.0.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/fuxingloh/contented). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
We are exposing the async-function argument type for jsDoc
type declaration support. This means that we now could do:
npm i -D @types/github-script@github:actions/github-script
and the add:
@param {import('@types/github-script').AsyncFunctionArguments} AsyncFunctionArguments
.This could obviously be done in other ways too, like using
@typed-actions/github-script
instead. But it seems betterto use the actual source repository instead of a third-party
library to import the type declaration.