<feed xmlns='http://www.w3.org/2005/Atom'>
<title>janschoenfeld/checkout.git/__test__/ref-helper.test.ts, branch dependabot/github_actions/actions/setup-node-7</title>
<subtitle>Action for checking out a repo
</subtitle>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/'/>
<entry>
<title>upgrade module to esm and update dependencies (#2463)</title>
<updated>2026-06-16T21:10:58+00:00</updated>
<author>
<name>Aiqiao Yan</name>
<email>55104035+aiqiaoy@users.noreply.github.com</email>
</author>
<published>2026-06-16T21:10:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=c68c2101c254470055e8aa38730553d71a47bc7b'/>
<id>c68c2101c254470055e8aa38730553d71a47bc7b</id>
<content type='text'>
* upgrade module to esm so I can update dependencies

* fix ci failures</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* upgrade module to esm so I can update dependencies

* fix ci failures</pre>
</div>
</content>
</entry>
<entry>
<title>fix: expand merge commit SHA regex and add SHA-256 test cases (#2414)</title>
<updated>2026-05-04T17:30:55+00:00</updated>
<author>
<name>Yashwanth Anantharaju</name>
<email>yaananth@users.noreply.github.com</email>
</author>
<published>2026-05-04T17:30:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=45c7dc79a6c1ac19a6a0981f08146cb419b30891'/>
<id>45c7dc79a6c1ac19a6a0981f08146cb419b30891</id>
<content type='text'>
* fix: expand merge commit SHA regex and add SHA-256 test cases

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;

* test: add checkCommitInfo SHA coverage

Add checkCommitInfo tests for SHA-1 and SHA-256 merge messages and reject invalid 50-character hex merge heads.\n\nCo-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;

* style: fix Prettier formatting in test and source files

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;

---------

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fix: expand merge commit SHA regex and add SHA-256 test cases

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;

* test: add checkCommitInfo SHA coverage

Add checkCommitInfo tests for SHA-1 and SHA-256 merge messages and reject invalid 50-character hex merge heads.\n\nCo-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;

* style: fix Prettier formatting in test and source files

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;

---------

Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Fix tag handling: preserve annotations and explicit fetch-tags (#2356)</title>
<updated>2026-01-09T19:42:23+00:00</updated>
<author>
<name>eric sciple</name>
<email>ericsciple@users.noreply.github.com</email>
</author>
<published>2026-01-09T19:42:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=5921bc8a76f21dbff8ef5088dc2dc3b479ab5309'/>
<id>5921bc8a76f21dbff8ef5088dc2dc3b479ab5309</id>
<content type='text'>
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</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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</pre>
</div>
</content>
</entry>
<entry>
<title>Check out other refs/* by commit if provided, fall back to ref (#1924)</title>
<updated>2024-10-02T00:24:28+00:00</updated>
<author>
<name>Orhan Toy</name>
<email>orhantoy@github.com</email>
</author>
<published>2024-10-02T00:24:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=0bd055484c994e774f464ab246385ade83f7f553'/>
<id>0bd055484c994e774f464ab246385ade83f7f553</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle hidden refs (#1774)</title>
<updated>2024-06-12T15:01:40+00:00</updated>
<author>
<name>Orhan Toy</name>
<email>orhantoy@github.com</email>
</author>
<published>2024-06-12T15:01:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=798b08b7113201b0aac9404bba2bdf31ca943949'/>
<id>798b08b7113201b0aac9404bba2bdf31ca943949</id>
<content type='text'>
Co-authored-by: Chris Gavin &lt;chris@chrisgavin.me&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Chris Gavin &lt;chris@chrisgavin.me&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Update NPM dependencies (#1703)</title>
<updated>2024-04-24T16:04:10+00:00</updated>
<author>
<name>Cory Miller</name>
<email>13227161+cory-miller@users.noreply.github.com</email>
</author>
<published>2024-04-24T16:04:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=77eabb37dbe5cc705ca71a065bc5b19443b802dd'/>
<id>77eabb37dbe5cc705ca71a065bc5b19443b802dd</id>
<content type='text'>
* Update dependencies manually
* Format files
* Update licenses</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Update dependencies manually
* Format files
* Update licenses</pre>
</div>
</content>
</entry>
<entry>
<title>update dev dependencies and react to new linting rules (#611)</title>
<updated>2021-10-19T14:52:57+00:00</updated>
<author>
<name>eric sciple</name>
<email>ericsciple@users.noreply.github.com</email>
</author>
<published>2021-10-19T14:52:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=5ee37f14842852931cb987e86d63ffb679abd036'/>
<id>5ee37f14842852931cb987e86d63ffb679abd036</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert checkout to a regular action (#70)</title>
<updated>2019-12-03T15:28:59+00:00</updated>
<author>
<name>eric sciple</name>
<email>ericsciple@users.noreply.github.com</email>
</author>
<published>2019-12-03T15:28:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=e404ba5989baa550f631fb1262539d1375a856b7'/>
<id>e404ba5989baa550f631fb1262539d1375a856b7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
