Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-04-13Fix: convert baseUrl to serverApiUrl 'formatted' (#1289)Ferenc Hammerl
* fix: convert baseUrl to apiUrl * Run prettier --------- Co-authored-by: 1newsr <1newsr@users.noreply.github.com>
2023-04-12Improve checkout performance on Windows runners by upgrading @actions/github ↵Binrui Dong
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-03-24Add new public key for known_hosts (#1237)v3.5.0Cameron Booth
* Add new public key for known_hosts * Fix the build!
2022-12-28Fix comment typos (that got added in #770) (#1057)v3.3.0users/vmjoseph/no-proxyAndrew Scheller
2022-12-14Implement branch list using callbacks from exec function (#1045)Cory Miller
When trying to list local branches to figure out what needs cleaned up during runs on non-ephemeral Actions Runners, we use git rev-parse --symbolic-full-name to get a list of branches. This can lead to ambiguous ref name errors when there are branches and tags with similar names. Part of the reason we use rev-parse --symbolic-full-name vs git branch --list or git rev-parse --symbolic seems to related to a bug in Git 2.18. Until we can deprecate our usage of Git 2.18, I think we need to keep --symbolic-full-name. Since part of the problem is that these ambiguous ref name errors clog the Actions annotation limits, this is a mitigation to suppress those messages until we can get rid of the workaround.
2022-11-15wrap pipeline commands for submoduleForeach in quotes (#964)Jok
* wrap pipeline commands for submoduleForeach in quotes * Update src/git-auth-helper.ts drop extraneous space. Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * Followed CONTRIBUTING.md instructions, updating dist/index.js * fixed package-lock.json * updating the pipeline so it runs from sh Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-10-03Bump @actions/core to 1.10.0 (#939)Francesco Renzi
* Bump @actions/core to 1.10.0 * Update licenses * Use @actions/core helper functions
2022-09-26Inject GitHub host to be able to clone from another GitHub instance (#922)Peter Murray
* Adding the ability to specify the GitHub Server URL and allowing for it to differ from the Actions workflow host * Adding tests for injecting the GitHub URL * Addressing code review comments for PR #922
2022-04-20Add set-safe-directory input to allow customers to take control. (#770)Tingluo Huang
* Add set-safe-directory input to allow customers to take control.
2022-04-14Enforce safe directory (#762)v3.0.1Thomas Boop
* set safe directory when running checkout * Update CHANGELOG.md
2022-04-05Patch to fix the dependbot alert. (#744)Tingluo Huang
* Patch to fix the dependbot alert. * . * . * .
2022-03-01update readme for v3 (#708)v3.0.0Thomas Boop
* update readme for v3 * update readme with changes * nit grammar
2021-11-01set insteadOf url for org-id (#621)v2.4.0eric sciple
2021-10-19script to generate license info (#614)eric sciple
2021-10-19update dev dependencies and react to new linting rules (#611)eric sciple
2020-11-03Add missing `await`s (#379)v2.3.4Johannes Schindelin
* auth-helper: properly await replacement of the token value in the config After writing the `.extraheader` config, we manually replace the token with the actual value. This is done in an `async` function, but we were not `await`ing the result. In our tests, this commit fixes a flakiness we observed where `remote.origin.url` sometimes (very rarely, actually) is not set for submodules. Our interpretation is that the configs are in the process of being rewritten with the correct token value _while_ another `git config` that wants to set the `insteadOf` value is reading the config, which is currently empty. A more idiomatic way to fix this in Typescript would use `Promise.all()`, like this: await Promise.all( configPaths.map(async configPath => { core.debug(`Replacing token placeholder in '${configPath}'`) await this.replaceTokenPlaceholder(configPath) }) ) However, during review of https://github.com/actions/checkout/pull/379 it was decided to keep the `for` loop in the interest of simplicity. Reported by Ian Lynagh. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> * downloadRepository(): await the result of recursive deletions Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> * Ask ESLint to report floating Promises This rule is quite helpful in avoiding hard-to-debug missing `await`s. Note: there are two locations in `src/main.ts` that trigger warnings: the `run()` and the `cleanup()` function are called without `await` and without any `.catch()` clause. In the initial version of https://github.com/actions/checkout/pull/379, this was addressed by adding `.catch()` clauses. However, it was determined that this is boilerplate code that will need to be fixed in a broader way. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> * Rebuild This trick was brought to you by `npm ci && npm run build`. Needed to get the PR build to pass. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2020-09-23Remove unneeded commit information from build logs (#345)v2.3.3Thomas Boop
* Remove unneeded commit information from stdout
2020-07-14update default branch (#305)eric sciple
2020-06-18fix default branch for .wiki and when using ssh (#284)eric sciple
2020-06-16determine default branch (#278)eric sciple
2020-05-27Fetch all history for all tags and branches when fetch-depth=0 (#258)eric sciple
2020-05-21telemetry for incorrect merge commit (#253)eric sciple
2020-05-18switch GITHUB_URL to GITHUB_SERVER_URL (#248)eric sciple
2020-05-07consume new @actions/github for GHES support (#236)eric sciple
2020-03-27group output (#191)v2.1.0eric sciple
2020-03-25changes to support ghes alpha release (#199)eric sciple
2020-03-12persist core.sshCommand for submodules (#184)eric sciple
* persist core.sshCommand for submodules * update verbiage; add comments * fail when submodules or ssh-key and fallback to REST API
2020-03-11add ssh support (#163)eric sciple
2020-03-10convert SSH URL to HTTPS (#179)eric sciple
2020-03-05add support for submodules (#173)eric sciple
2020-03-02more unit tests and corresponding refactoring (#174)eric sciple
2020-01-27follow proxy settings (#144)eric sciple
2020-01-21fix ref for pr closed event when a pr is merged (#141)eric sciple
2020-01-03Add link to doc for creating and using encyrpted secrets (#123)eric sciple
2020-01-03fix issue checking detached when git less than 2.22 (#128)eric sciple
2019-12-13update examples to reference v2 tag (#110)v2.0.0eric sciple
2019-12-12do not pass cred on command line (#108)v2-betaeric sciple
2019-12-12add input persist-credentials (#107)eric sciple
2019-12-12fallback to REST API to download repo (#104)eric sciple
2019-12-03Do not delete cwd (#86)eric sciple
2019-12-03update readme (#82)eric sciple
2019-12-03Convert checkout to a regular action (#70)eric sciple