eric sciple and GitHub
0c366fd6a8
Update changelog ( #2357 )
2026-01-09 14:09:42 -06:00
eric sciple and GitHub
de0fac2e45
Fix tag handling: preserve annotations and explicit fetch-tags ( #2356 )
...
This PR fixes several issues with tag handling in the checkout action:
1. fetch-tags: true now works (fixes #1471 )
- Tags refspec is now included in getRefSpec() when fetchTags=true
- Previously tags were only fetched during a separate fetch that was
overwritten by the main fetch
2. Tag checkout preserves annotations (fixes #290 )
- Tags are fetched via refspec (+refs/tags/*:refs/tags/*) instead of
--tags flag
- This fetches the actual tag objects, preserving annotations
3. Tag checkout with fetch-tags: true no longer fails (fixes #1467 )
- When checking out a tag with fetchTags=true, only the wildcard
refspec is used (specific tag refspec is redundant)
Changes:
- src/ref-helper.ts: getRefSpec() now accepts fetchTags parameter and
prepends tags refspec when true
- src/git-command-manager.ts: fetch() simplified to always use --no-tags,
tags are fetched explicitly via refspec
- src/git-source-provider.ts: passes fetchTags to getRefSpec()
- Added E2E test for fetch-tags option
Related #1471 , #1467 , #290
2026-01-09 13:42:23 -06:00
eric sciple and GitHub
8e8c483db8
Clarify v6 README ( #2328 )
2025-12-01 20:08:49 -06:00
eric sciple and GitHub
033fa0dc0b
Add worktree support for persist-credentials includeIf ( #2327 )
2025-12-01 19:53:23 -06:00
eric sciple and GitHub
c2d88d3ecc
Update all references from v5 and v4 to v6 ( #2314 )
...
- Updated README.md examples to reference @v6
- Updated all workflow files to use actions/checkout@v6
2025-11-23 19:32:55 -06:00
eric sciple and GitHub
1af3b93b68
update readme/changelog for v6 ( #2311 )
2025-11-20 10:20:04 -06:00
eric sciple and GitHub
71cf2267d8
v6-beta ( #2298 )
2025-11-03 13:40:10 -06:00
eric sciple and GitHub
069c695914
Persist creds to a separate file ( #2286 )
2025-11-03 13:08:38 -06:00
eric sciple and GitHub
ec3a7ce113
set insteadOf url for org-id ( #621 )
2021-11-01 11:43:18 -05:00
eric sciple and GitHub
fd47087372
codeql should analyze lib not dist ( #620 )
2021-10-20 15:11:24 -05:00
eric sciple and GitHub
3d677ac575
script to generate license info ( #614 )
2021-10-19 14:30:04 -05:00
eric sciple and GitHub
826ba42d6c
npm audit fix ( #612 )
2021-10-19 10:05:28 -05:00
eric sciple and GitHub
eb8a193c1d
update dev dependencies and react to new linting rules ( #611 )
2021-10-19 09:52:57 -05:00
eric sciple and GitHub
0299a0d2b6
update dist ( #605 )
2021-10-13 16:07:05 -05: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
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
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
eric sciple
aabbfeb2ce
changelog
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
eric sciple
86f86b36ef
changelog
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 )
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
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
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 )
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 )
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
eric sciple and GitHub
5881116d18
Update README.md
2019-12-05 22:10:31 -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