| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Hello from actions/github-script! (ba396f6) |
Sorry, something went wrong.
Co-authored-by: Martin Costello <martin@martincostello.com>
|
Looks like there's a legitimate failure with the preview integration test: - Validating previews set to a single value Error: ❌ Expected 'application/vnd.github.foo-preview+json', got application/vnd.github.v3+json Error: Process completed with exit code 1. |
Sorry, something went wrong.
|
You could probably also update to the node20 versions of related actions: |
Sorry, something went wrong.
Previews are no longer supported in Octokit unless you are sending a request to /graphql: octokit/endpoint.js@376276d. This aligns with how previews have been phased out from the GitHub REST API (https://github.blog/changelog/2021-10-14-rest-api-preview-promotions) and the documentation was removed a couple years ago. So probably worth adjusting the test to be a GraphQL one and adjusting any needed documentation accordingly. |
Sorry, something went wrong.
|
Took a look at the failing test and I think I figured it out. Seems like the problem lies with the updated @actions/Github and octokit dependencies. Looking at this code segment that deals with the previews - which has been pulled in with the dependency updates. It only applies previews if the route is /graphql. Some local testing: INPUT_SCRIPT="return github.request.endpoint({url: \"/graphql\"}).headers.accept" INPUT_GITHUB_TOKEN=<redacted> INPUT_RESULT_ENCODING=string INPUT_PREVIEWS=foo INPUT_DEBUG=true INPUT_RETRIES=0 node ./dist/index.js
::set-output name=result::application/vnd.github.foo-preview+json
And without {url: \"/graphql\"} (as in the workflow file): INPUT_SCRIPT="return github.request.endpoint({}).headers.accept" INPUT_GITHUB_TOKEN=<redacted> INPUT_RESULT_ENCODING=string INPUT_PREVIEWS=foo INPUT_DEBUG=true INPUT_RETRIES=0 node ./dist/index.js
::set-output name=result::application/vnd.github.v3+json
I'm able to run that ^ because I've made changes to main.ts which switches necessary input names from kebab-case to snake_case because my shell (and most shells) don't support - in environment variable names. Diffdiff --git a/src/main.ts b/src/main.ts
index 44b1270..6e82709 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -23,7 +23,7 @@ type Options = {
}
async function main(): Promise<void> {
- const token = core.getInput('github-token', {required: true})
+ const token = core.getInput('github_token', {required: true})
const debug = core.getBooleanInput('debug')
const userAgent = core.getInput('user-agent')
const previews = core.getInput('previews')
@@ -63,7 +63,7 @@ async function main(): Promise<void> {
script
)
- let encoding = core.getInput('result-encoding')
+ let encoding = core.getInput('result_encoding')
encoding = encoding ? encoding : 'json'
let output
|
Sorry, something went wrong.
There was a problem hiding this comment.
I love it, thanks @joshmgross!
Sorry, something went wrong.
[](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==-->
[](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>
[](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>
[](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>
[](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>
[](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>
sagemathgh-36739: ⬆️ Bump actions/github-script from 6.4.0 to 7.0.1 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 /> [](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
[](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>
| Back | FazBrowse Home | New Git URL |
Supports #421
With https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/, we can use Node 20 now.
This updates the action to that runtime and updates every dependency to the latest version. This also allows us to use the latest Octokit, which had dropped support for Node 16 (see actions/toolkit#1542).
As part of these changes, I've removed node-fetch as fetch is was added by default in Node 18.
With the latest Octokit, API previews are now only used for GraphQL APIs. I've updated the previews input to reflect that change.