1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2024-12-27 02:32:07 +01:00
checkout/__test__
Cory Miller 8856415920
Implement branch list using callbacks from exec function (#1045)
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-12-14 16:08:53 -05:00
..
git-auth-helper.test.ts Inject GitHub host to be able to clone from another GitHub instance (#922) 2022-09-26 12:34:52 -04:00
git-command-manager.test.ts Implement branch list using callbacks from exec function (#1045) 2022-12-14 16:08:53 -05:00
git-directory-helper.test.ts fix default branch for .wiki and when using ssh (#284) 2020-06-18 10:20:33 -04:00
git-version.test.ts Convert checkout to a regular action (#70) 2019-12-03 10:28:59 -05:00
input-helper.test.ts Add set-safe-directory input to allow customers to take control. (#770) 2022-04-20 21:37:43 -04:00
modify-work-tree.sh Convert checkout to a regular action (#70) 2019-12-03 10:28:59 -05:00
override-git-version.cmd Swap to Environment Files (#360) 2020-09-30 11:41:09 -04:00
override-git-version.sh Swap to Environment Files (#360) 2020-09-30 11:41:09 -04:00
ref-helper.test.ts update dev dependencies and react to new linting rules (#611) 2021-10-19 09:52:57 -05:00
retry-helper.test.ts update dev dependencies and react to new linting rules (#611) 2021-10-19 09:52:57 -05:00
verify-basic.sh update default branch (#305) 2020-07-14 09:23:30 -04:00
verify-clean.sh Convert checkout to a regular action (#70) 2019-12-03 10:28:59 -05:00
verify-lfs.sh Convert checkout to a regular action (#70) 2019-12-03 10:28:59 -05:00
verify-no-unstaged-changes.sh update troubleshooting instructions to include 'npm run format' 2020-05-31 17:48:51 -04:00
verify-side-by-side.sh Convert checkout to a regular action (#70) 2019-12-03 10:28:59 -05:00
verify-submodules-false.sh add support for submodules (#173) 2020-03-05 14:21:59 -05:00
verify-submodules-recursive.sh add support for submodules (#173) 2020-03-05 14:21:59 -05:00
verify-submodules-true.sh add support for submodules (#173) 2020-03-05 14:21:59 -05:00