1
0
Fork 0
mirror of https://github.com/actions/checkout synced 2024-11-14 17:42:39 +00:00
checkout/.licenses/npm
Binrui Dong 40a16ebeed
Improve checkout performance on Windows runners by upgrading @actions/github dependency (#1246)
* Improve checkout performance on Windows runners by upgrading @actions/github dependency

Re: https://github.com/actions/checkout/issues/1186

@dscho discovered that the checkout action could stall for a
considerable amount of time on Windows runners waiting for PowerShell
invocations made from 'windows-release' npm package to complete.

Then I studied the dependency chain to figure out where
'windows-release' was imported:

'@actions/checkout'@main
  <- '@actions/github'@2.2.0
    <- '@octokit/endpoint'@6.0.1
    <- '@octokit/graphql'@4.3.1
    <- '@octokit/request'@5.4.2
    <- '@octokit/rest'@16.43.1
      <- 'universal-user-agent'@4.0.1
        <- 'os-name'@3.1.0
          <- 'windows-release'@3.1.0

'universal-user-agent' package dropped its dependency on 'os-name' in
https://github.com/gr2m/universal-user-agent/releases/tag/v6.0.0 .

'@actions/github' v3 removed dependency on '@octokit/rest'@16.43.1 and
allows users to move away from the old 'universal-user-agent' v4.
(https://github.com/actions/toolkit/pull/453)

This pull request attempts to update the version of '@actions/github'
used in the checkout action to avoid importing 'windows-release'.

Based on testing in my own repositories, I can see an improvement in
reduced wait time between entering the checkout action and git actually
starts to do useful work.

* Update .licenses

* Rebuild index.js
2023-04-12 13:55:27 +02:00
..
@actions Improve checkout performance on Windows runners by upgrading @actions/github dependency (#1246) 2023-04-12 13:55:27 +02:00
@octokit Improve checkout performance on Windows runners by upgrading @actions/github dependency (#1246) 2023-04-12 13:55:27 +02:00
before-after-hook.dep.yml Improve checkout performance on Windows runners by upgrading @actions/github dependency (#1246) 2023-04-12 13:55:27 +02:00
call-bind.dep.yml script to generate license info (#614) 2021-10-19 14:30:04 -05:00
deprecation.dep.yml Add Licensed To Help Verify Prod Licenses (#326) 2020-09-10 09:24:29 -04:00
function-bind.dep.yml script to generate license info (#614) 2021-10-19 14:30:04 -05:00
get-intrinsic.dep.yml script to generate license info (#614) 2021-10-19 14:30:04 -05:00
has-symbols.dep.yml script to generate license info (#614) 2021-10-19 14:30:04 -05:00
has.dep.yml script to generate license info (#614) 2021-10-19 14:30:04 -05:00
is-plain-object.dep.yml Improve checkout performance on Windows runners by upgrading @actions/github dependency (#1246) 2023-04-12 13:55:27 +02:00
node-fetch.dep.yml Improve checkout performance on Windows runners by upgrading @actions/github dependency (#1246) 2023-04-12 13:55:27 +02:00
object-inspect.dep.yml script to generate license info (#614) 2021-10-19 14:30:04 -05:00
once.dep.yml Add Licensed To Help Verify Prod Licenses (#326) 2020-09-10 09:24:29 -04:00
qs.dep.yml Implement branch list using callbacks from exec function (#1045) 2022-12-14 16:08:53 -05:00
semver.dep.yml Improve checkout performance on Windows runners by upgrading @actions/github dependency (#1246) 2023-04-12 13:55:27 +02:00
side-channel.dep.yml script to generate license info (#614) 2021-10-19 14:30:04 -05:00
tr46.dep.yml script to generate license info (#614) 2021-10-19 14:30:04 -05:00
tunnel.dep.yml script to generate license info (#614) 2021-10-19 14:30:04 -05:00
typed-rest-client.dep.yml script to generate license info (#614) 2021-10-19 14:30:04 -05:00
underscore.dep.yml script to generate license info (#614) 2021-10-19 14:30:04 -05:00
universal-user-agent.dep.yml Improve checkout performance on Windows runners by upgrading @actions/github dependency (#1246) 2023-04-12 13:55:27 +02:00
uuid-3.3.3.dep.yml Bump @actions/core to 1.10.0 (#939) 2022-10-03 18:04:49 +01:00
uuid-8.3.2.dep.yml Bump @actions/core to 1.10.0 (#939) 2022-10-03 18:04:49 +01:00
webidl-conversions.dep.yml script to generate license info (#614) 2021-10-19 14:30:04 -05:00
whatwg-url.dep.yml script to generate license info (#614) 2021-10-19 14:30:04 -05:00
wrappy.dep.yml Add Licensed To Help Verify Prod Licenses (#326) 2020-09-10 09:24:29 -04:00