85e47d1a2b
Bump path-parse from 1.0.6 to 1.0.7 ( #568 )
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 09:13:04 -05:00
3fc17f8645
Bump hosted-git-info from 2.8.5 to 2.8.9 ( #500 )
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.5 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.5...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 09:11:06 -05:00
e3bc06d986
Bump lodash from 4.17.15 to 4.17.21 ( #499 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 09:08:31 -05:00
442567ba57
Bump handlebars from 4.5.3 to 4.7.7 ( #497 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.5.3 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.5.3...v4.7.7 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 09:07:45 -05:00
7f00b66d06
Bump y18n from 4.0.0 to 4.0.1 ( #469 )
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 09:07:05 -05:00
eccf386318
Bump @actions/core from 1.1.3 to 1.2.6 ( #361 )
...
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core ) from 1.1.3 to 1.2.6.
- [Release notes](https://github.com/actions/toolkit/releases )
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 08:57:33 -05:00
2bd2911be9
Bump acorn from 5.7.3 to 5.7.4 ( #186 )
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 08:55:25 -05:00
Brian Cristante and GitHub
afe4af09a7
Create check-dist.yml ( #566 )
...
* Add check-dist.yml
* Don't need to mv to git diff
* Upload the whole dist/ directory as an artifact
* Update .github/workflows/check-dist.yml
2021-08-17 16:08:22 -04:00
Ross Brodbeck and GitHub
25a956c84d
Create CODEOWNERS
2021-02-04 12:25:41 -05:00
Johannes Schindelin and GitHub
5a4ac9002d
Add missing awaits ( #379 )
...
* 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 >
v2.3.4
2020-11-03 09:44:09 -05:00
Thomas Boop and GitHub
c952173edf
Swap to Environment Files ( #360 )
2020-09-30 11:41:09 -04:00
Thomas Boop and GitHub
a81bbbf829
Remove unneeded commit information from build logs ( #345 )
...
* Remove unneeded commit information from stdout
v2.3.3
2020-09-23 09:41:47 -04:00
Thomas Boop and GitHub
21dc310f19
Add Licensed To Help Verify Prod Licenses ( #326 )
...
* Add Licensed file and workflow
* manual updates of dependencies
* Delete licenses.txt
* Ignore Generated Files in Git PR's
2020-09-10 09:24:29 -04:00
Thomas Boop
be6c44d969
Revert "Delete licenses.txt"
2020-08-11 19:41:01 -04:00
Thomas Boop and GitHub
dac8cc78a1
Delete licenses.txt
2020-08-11 19:36:35 -04:00
Thomas Boop and GitHub
2036a08e25
Add Third Party License Information to Dist Files ( #320 )
v2.3.2
2020-08-07 09:22:39 -04:00
eric sciple and GitHub
592cf69a22
Update README.md
2020-07-14 16:30:57 -04:00
eric sciple and GitHub
a4b69b4886
Update README.md
2020-07-14 13:08:52 -04:00
eric sciple and GitHub
1433f62caa
update default branch ( #305 )
2020-07-14 09:23:30 -04:00
eric sciple and GitHub
61b9e3751b
improve description for fetch-depth ( #301 )
2020-07-12 21:02:24 -04:00
eric sciple
28c7f3d2b5
changelog
v2.3.1
2020-06-18 10:27:39 -04:00
eric sciple and GitHub
fb6f360df2
fix default branch for .wiki and when using ssh ( #284 )
2020-06-18 10:20:33 -04:00
eric sciple
b4483adec3
changelog
v2.3.0
2020-06-16 13:48:53 -04:00
eric sciple and GitHub
00a3be8934
determine default branch ( #278 )
2020-06-16 13:41:01 -04:00
eric sciple
453ee27fca
update troubleshooting instructions to include 'npm run format'
2020-05-31 17:48:51 -04:00
Daniel Hwang and GitHub
65865e15a1
build because all is no more ( #264 )
2020-05-31 17:46:53 -04:00
eric sciple
aabbfeb2ce
changelog
v2.2.0
2020-05-27 12:37:40 -04:00
eric sciple and GitHub
e52d022eb5
Fetch all history for all tags and branches when fetch-depth=0 ( #258 )
2020-05-27 09:54:28 -04:00
eric sciple and GitHub
2ff2fbdea4
telemetry for incorrect merge commit ( #253 )
2020-05-21 11:09:16 -04:00
eric sciple and GitHub
df86c829eb
fix readme ( #251 )
2020-05-20 10:20:52 -04:00
Peter Evans and GitHub
97b30c411c
fix prettier glob pattern ( #247 )
2020-05-19 12:34:05 -04:00
eric sciple
86f86b36ef
changelog
v2.1.1
2020-05-19 10:27:02 -04:00
eric sciple and GitHub
7523e23789
switch GITHUB_URL to GITHUB_SERVER_URL ( #248 )
2020-05-18 13:05:15 -04:00
eric sciple and GitHub
ac455590d1
consume new @actions/github for GHES support ( #236 )
2020-05-07 12:11:11 -04:00
eric sciple
94c2de77cc
Update changelog
2020-04-02 16:04:37 -04:00
eric sciple and GitHub
01aecccf73
group output ( #191 )
v2.1.0
2020-03-27 13:12:15 -04:00
eric sciple and GitHub
85b1f35505
changes to support ghes alpha release ( #199 )
2020-03-25 15:12:22 -04:00
eric sciple
574281d34c
update readme
2020-03-19 22:17:25 -04:00
Jef LeCompte and GitHub
fbb30c60ab
Removed doc based on new changes ( #192 )
2020-03-19 22:03:41 -04:00
eric sciple and GitHub
58070a9fc3
update input descriptions in adr ( #189 )
2020-03-19 10:26:00 -04:00
eric sciple and GitHub
9a3a9ade82
persist core.sshCommand for submodules ( #184 )
...
* persist core.sshCommand for submodules
* update verbiage; add comments
* fail when submodules or ssh-key and fallback to REST API
2020-03-12 11:42:38 -04:00
eric sciple and GitHub
b2e6b7ed13
add ssh support ( #163 )
2020-03-11 15:55:17 -04:00
eric sciple and GitHub
80602fafba
convert SSH URL to HTTPS ( #179 )
2020-03-10 10:45:50 -04:00
eric sciple and GitHub
b4626ce19c
revise adr: convert SSH URL to HTTPS ( #178 )
2020-03-06 17:30:23 -05:00
eric sciple and GitHub
422dc45671
add support for submodules ( #173 )
2020-03-05 14:21:59 -05:00
eric sciple and GitHub
204620207c
revise adr to support submodules ( #157 )
2020-03-04 13:10:35 -05:00
eric sciple and GitHub
f219062370
more unit tests and corresponding refactoring ( #174 )
2020-03-02 11:33:30 -05:00
eric sciple and GitHub
096e927750
revise adr to support ssh ( #156 )
2020-02-25 09:59:59 -05:00
eric sciple and GitHub
f858c22e96
update adr to match current behavior ( #154 )
2020-02-13 15:26:25 -05:00
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 and GitHub
06218e4404
checkout v2 adr ( #153 )
2020-02-13 14:43:20 -05:00
eric sciple and GitHub
61fd8fd0c7
switch to spyOn for mocks ( #152 )
2020-02-13 13:25:46 -05:00
eric sciple and GitHub
f95f2a3856
Update test.yml
2020-01-27 10:26:27 -05:00
eric sciple and GitHub
f90c7b395d
follow proxy settings ( #144 )
2020-01-27 10:21:50 -05:00
eric sciple and GitHub
090d9c9dfd
fix ref for pr closed event when a pr is merged ( #141 )
2020-01-21 14:17:04 -05:00
eric sciple and GitHub
db41740e12
consume v2 action during build ( #131 )
2020-01-03 12:49:41 -05:00
eric sciple and GitHub
bc50a995b8
Add link to doc for creating and using encyrpted secrets ( #123 )
2020-01-03 12:32:17 -05:00
eric sciple and GitHub
dfd70d4a2d
2.0.1 ( #129 )
2020-01-03 11:24:41 -05:00
eric sciple and GitHub
ae525b2262
fix issue checking detached when git less than 2.22 ( #128 )
2020-01-03 10:13:01 -05:00
eric sciple and GitHub
f466b96953
improve summary ( #127 )
2020-01-02 15:40:10 -05:00
eric sciple and GitHub
c85684db76
example fetch all history for all tags and branches ( #115 )
2019-12-16 10:45:02 -05:00
eric sciple and GitHub
299dd5064e
add more scenarios ( #112 )
2019-12-13 16:39:47 -05:00
eric sciple and GitHub
722adc63f1
update examples to reference v2 tag ( #110 )
v2.0.0
2019-12-13 00:00:48 -05:00
eric sciple and GitHub
3537747199
fix ref ( #109 )
2019-12-12 14:44:19 -05:00
eric sciple and GitHub
a6747255bd
do not pass cred on command line ( #108 )
v2-beta
2019-12-12 14:04:04 -05:00
eric sciple and GitHub
c170eefc26
add input persist-credentials ( #107 )
2019-12-12 13:49:26 -05:00
eric sciple and GitHub
a572f640b0
fallback to REST API to download repo ( #104 )
2019-12-12 13:16:16 -05:00
Riddhesh Sanghvi and eric sciple
cab31617d8
Document update: Checkout PR head sha ( #102 )
2019-12-10 11:17:38 -05:00
eric sciple and GitHub
5881116d18
Update README.md
2019-12-05 22:10:31 -05:00
Edward Thomson and eric sciple
7990b10a0c
Update description ( #65 )
2019-12-04 23:43:03 -05:00
eric sciple and GitHub
01a434328a
document scenario: checkout the head commit of a PR ( #90 )
2019-12-04 10:12:10 -05:00
eric sciple and GitHub
4817b449b0
clarify name with owner ( #87 )
2019-12-03 16:47:19 -05:00
eric sciple and GitHub
689bf84be4
Do not delete cwd ( #86 )
2019-12-03 13:43:37 -05:00
eric sciple and GitHub
cc70598ce8
Update README.md
2019-12-03 11:35:57 -05:00
eric sciple and GitHub
8461dbfed3
update readme ( #82 )
2019-12-03 11:26:12 -05:00
eric sciple and GitHub
e347bba93b
Convert checkout to a regular action ( #70 )
2019-12-03 10:28:59 -05:00
Thomas Boop and GitHub
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 and Thomas Boop
e8bd1dffb6
Update help docs link ( #68 )
2019-11-20 13:36:26 -05:00
Tingluo Huang and Thomas Boop
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 and Tingluo Huang
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 and GitHub
94d077c249
Add explanatory comment to plugin ( #31 )
2019-09-06 13:18:58 -04:00
Zeke Sikelianos and Tingluo Huang
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 and Tingluo Huang
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 and Ting
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 and Ting
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 and Ting
6e6328ef28
README: Environment variable typo fix ( #11 )
2019-08-16 10:56:22 -04:00
Edward Thomson and Ting
53bed0742e
Submodule documentation improvements ( #4 )
2019-08-13 15:44:07 -04:00
Max Held and Ting
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
Bryan MacFarlane and GitHub
af513c7a01
actions to steps
v1.0.0
1.0.0
2019-07-25 21:30:48 -04:00
Danny McCormick and GitHub
bf4af63534
Add docs ( #2 )
...
* Update README.md
* Create LICENSE
* Update README.md
2019-07-23 15:32:03 -04:00
Ting and Danny McCormick
3df79e0276
add checkout action.yml ( #1 )
...
* initial test.
* test
* Update action.yml
* Update action.yml
* Update action.yml
* Update action.yml
* Update action.yml
2019-07-23 11:50:59 -04:00
Chris Patterson and GitHub
44679f67d2
Initial commit
2019-07-19 13:15:34 -04:00