Public Access
1
0
mirror of https://github.com/actions/checkout.git synced 2025-07-16 21:44:54 +00:00
Commit Graph

54 Commits

Author SHA1 Message Date
eric sciple
95471c29b6 fail when submodules or ssh-key and fallback to REST API 2020-03-12 11:29:02 -04:00
eric sciple
2a15e11d5a update verbiage; add comments 2020-03-12 00:59:09 -04:00
eric sciple
518a867127 persist core.sshCommand for submodules 2020-03-11 19:18:07 -04:00
eric sciple
b2e6b7ed13 add ssh support (#163) 2020-03-11 15:55:17 -04:00
eric sciple
80602fafba convert SSH URL to HTTPS (#179) 2020-03-10 10:45:50 -04:00
eric sciple
b4626ce19c revise adr: convert SSH URL to HTTPS (#178) 2020-03-06 17:30:23 -05:00
eric sciple
422dc45671 add support for submodules (#173) 2020-03-05 14:21:59 -05:00
eric sciple
204620207c revise adr to support submodules (#157) 2020-03-04 13:10:35 -05:00
eric sciple
f219062370 more unit tests and corresponding refactoring (#174) 2020-03-02 11:33:30 -05:00
eric sciple
096e927750 revise adr to support ssh (#156) 2020-02-25 09:59:59 -05:00
eric sciple
f858c22e96 update adr to match current behavior (#154) 2020-02-13 15:26:25 -05:00
Christopher Sexton
77904fd431 Handle submodules with SSH URLs (#140)
* Handle submodules with SSH URLs

This is just a documentation change, explaining how to fix submodules
that are configured to use SSH URLs instead of HTTPS URLs. Spent a while
banging my head on the wall and hope this saves someone else the pain.

This is helpful for teams that use the SSH protocol for local
development so don't want to change the mechanism that pulls in the
submodules. Using `insteadOf` seems a bit nicer than than setting up a
deploy keypair.

* SSH submodules

Co-authored-by: Chris Patterson <chrispat@github.com>
2020-02-13 14:44:37 -05:00
eric sciple
06218e4404 checkout v2 adr (#153) 2020-02-13 14:43:20 -05:00
eric sciple
61fd8fd0c7 switch to spyOn for mocks (#152) 2020-02-13 13:25:46 -05:00
eric sciple
f95f2a3856 Update test.yml 2020-01-27 10:26:27 -05:00
eric sciple
f90c7b395d follow proxy settings (#144) 2020-01-27 10:21:50 -05:00
eric sciple
090d9c9dfd fix ref for pr closed event when a pr is merged (#141) 2020-01-21 14:17:04 -05:00
eric sciple
db41740e12 consume v2 action during build (#131) 2020-01-03 12:49:41 -05:00
eric sciple
bc50a995b8 Add link to doc for creating and using encyrpted secrets (#123) 2020-01-03 12:32:17 -05:00
eric sciple
dfd70d4a2d 2.0.1 (#129) 2020-01-03 11:24:41 -05:00
eric sciple
ae525b2262 fix issue checking detached when git less than 2.22 (#128) 2020-01-03 10:13:01 -05:00
eric sciple
f466b96953 improve summary (#127) 2020-01-02 15:40:10 -05:00
eric sciple
c85684db76 example fetch all history for all tags and branches (#115) 2019-12-16 10:45:02 -05:00
eric sciple
299dd5064e add more scenarios (#112) 2019-12-13 16:39:47 -05:00
eric sciple
722adc63f1 update examples to reference v2 tag (#110) v2.0.0 2019-12-13 00:00:48 -05:00
eric sciple
3537747199 fix ref (#109) 2019-12-12 14:44:19 -05:00
eric sciple
a6747255bd do not pass cred on command line (#108) v2-beta 2019-12-12 14:04:04 -05:00
eric sciple
c170eefc26 add input persist-credentials (#107) 2019-12-12 13:49:26 -05:00
eric sciple
a572f640b0 fallback to REST API to download repo (#104) 2019-12-12 13:16:16 -05:00
Riddhesh Sanghvi
cab31617d8 Document update: Checkout PR head sha (#102) 2019-12-10 11:17:38 -05:00
eric sciple
5881116d18 Update README.md 2019-12-05 22:10:31 -05:00
Edward Thomson
7990b10a0c Update description (#65) 2019-12-04 23:43:03 -05:00
eric sciple
01a434328a document scenario: checkout the head commit of a PR (#90) 2019-12-04 10:12:10 -05:00
eric sciple
4817b449b0 clarify name with owner (#87) 2019-12-03 16:47:19 -05:00
eric sciple
689bf84be4 Do not delete cwd (#86) 2019-12-03 13:43:37 -05:00
eric sciple
cc70598ce8 Update README.md 2019-12-03 11:35:57 -05:00
eric sciple
8461dbfed3 update readme (#82) 2019-12-03 11:26:12 -05:00
eric sciple
e347bba93b Convert checkout to a regular action (#70) 2019-12-03 10:28:59 -05:00
Thomas Boop
50fbc622fc Reverted Changes to Git Config and Authentication (#64)
v1.2.0 Release - Reverted changes to git just works authentication
v1 v1.2.0
2019-11-21 11:04:30 -05:00
Rachael Sewell
e8bd1dffb6 Update help docs link (#68) 2019-11-20 13:36:26 -05:00
Tingluo Huang
0b496e91ec Upgrade checkout to v1.1.0 to better support scripting git. (#56)
* Upgrade checkout to v1.1.0 to better support scripting git.

* add changelog

* Update README.md

* Add local testing yaml

* Add Status Badge to readme
v1.1.0
2019-10-25 10:52:59 -04:00
Edward Thomson
f6ce2afa70 Explain submodules option (#48)
Explain that submodules have several settings: `false`, `true` or `recursive`.
2019-10-03 09:13:19 -04:00
Danny McCormick
94d077c249 Add explanatory comment to plugin (#31) 2019-09-06 13:18:58 -04:00
Zeke Sikelianos
0963d3b35f add docs about checking out the triggering ref (#21)
* add docs about checking out the triggering ref

* clarify checkout behavior
2019-09-05 11:42:49 -04:00
Max Held
a14471d838 clarify language on working directory (#9)
* clarify language

I guess this action doesn't technically make sure that my working directory is `$GITHUB_WORKSPACE`, so this might be more precise?

* fix repetition
2019-08-21 21:39:05 -04:00
Andy McKay
7f0669ca1f Update action.yml (#3)
This partially fixes #940 by updating the description to match the request. However I'm assuming the runner adds in the `Action` part by truncating the description? cc @bryanmacfarlane
2019-08-16 11:00:30 -04:00
Doug Moscrop
cacfc4155d Change version to node-version (#12)
version is deprecated and replaced by node-version
2019-08-16 10:59:11 -04:00
Ahmet Alp Balkan
6e6328ef28 README: Environment variable typo fix (#11) 2019-08-16 10:56:22 -04:00
Edward Thomson
53bed0742e Submodule documentation improvements (#4) 2019-08-13 15:44:07 -04:00
Max Held
b4b537b06a clarify default checkout sha (#10)
this is trivial for `on: push`, but might be helpful to remind readers that this ain't always so for other events.
Hence the link to the docs.
2019-08-13 10:53:03 -04:00