<feed xmlns='http://www.w3.org/2005/Atom'>
<title>janschoenfeld/checkout.git/src/ref-helper.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>block checking out fork pr for pull_request_target and workflow_run (#2454)</title>
<updated>2026-06-16T14:03:43+00:00</updated>
<author>
<name>Aiqiao Yan</name>
<email>55104035+aiqiaoy@users.noreply.github.com</email>
</author>
<published>2026-06-16T14:03:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=572e3a40060eb15fc5b0619501b5d879596b36c6'/>
<id>572e3a40060eb15fc5b0619501b5d879596b36c6</id>
<content type='text'>
* block checking out fork pr for some events

* address copilot and reviewer feedback

* run prettier formatting

* build

* update urls

* update readme

* update description and url again

* edit url one more time</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* block checking out fork pr for some events

* address copilot and reviewer feedback

* run prettier formatting

* build

* update urls

* update readme

* update description and url again

* edit url one more time</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>Fix: convert baseUrl to serverApiUrl 'formatted' (#1289)</title>
<updated>2023-04-13T12:25:50+00:00</updated>
<author>
<name>Ferenc Hammerl</name>
<email>31069338+fhammerl@users.noreply.github.com</email>
</author>
<published>2023-04-13T12:25:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=473c63f4d32bc90f0653642c05f1599d6f1fc97a'/>
<id>473c63f4d32bc90f0653642c05f1599d6f1fc97a</id>
<content type='text'>
* fix: convert baseUrl to apiUrl

* Run prettier

---------

Co-authored-by: 1newsr &lt;1newsr@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fix: convert baseUrl to apiUrl

* Run prettier

---------

Co-authored-by: 1newsr &lt;1newsr@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Improve checkout performance on Windows runners by upgrading @actions/github dependency (#1246)</title>
<updated>2023-04-12T11:55:27+00:00</updated>
<author>
<name>Binrui Dong</name>
<email>brett.browning.dong@gmail.com</email>
</author>
<published>2023-04-12T11:55:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=14d9c28776de95fa1aca6d4fa9c2095443729e7d'/>
<id>14d9c28776de95fa1aca6d4fa9c2095443729e7d</id>
<content type='text'>
* Improve checkout performance on Windows runners by upgrading @actions/github dependency

Re: https://github.com/actions/checkout/issues/1186

@dscho discovered that the checkout action could stall for a
considerable amount of time on Windows runners waiting for PowerShell
invocations made from 'windows-release' npm package to complete.

Then I studied the dependency chain to figure out where
'windows-release' was imported:

'@actions/checkout'@main
  &lt;- '@actions/github'@2.2.0
    &lt;- '@octokit/endpoint'@6.0.1
    &lt;- '@octokit/graphql'@4.3.1
    &lt;- '@octokit/request'@5.4.2
    &lt;- '@octokit/rest'@16.43.1
      &lt;- 'universal-user-agent'@4.0.1
        &lt;- 'os-name'@3.1.0
          &lt;- 'windows-release'@3.1.0

'universal-user-agent' package dropped its dependency on 'os-name' in
https://github.com/gr2m/universal-user-agent/releases/tag/v6.0.0 .

'@actions/github' v3 removed dependency on '@octokit/rest'@16.43.1 and
allows users to move away from the old 'universal-user-agent' v4.
(https://github.com/actions/toolkit/pull/453)

This pull request attempts to update the version of '@actions/github'
used in the checkout action to avoid importing 'windows-release'.

Based on testing in my own repositories, I can see an improvement in
reduced wait time between entering the checkout action and git actually
starts to do useful work.

* Update .licenses

* Rebuild index.js</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Improve checkout performance on Windows runners by upgrading @actions/github dependency

Re: https://github.com/actions/checkout/issues/1186

@dscho discovered that the checkout action could stall for a
considerable amount of time on Windows runners waiting for PowerShell
invocations made from 'windows-release' npm package to complete.

Then I studied the dependency chain to figure out where
'windows-release' was imported:

'@actions/checkout'@main
  &lt;- '@actions/github'@2.2.0
    &lt;- '@octokit/endpoint'@6.0.1
    &lt;- '@octokit/graphql'@4.3.1
    &lt;- '@octokit/request'@5.4.2
    &lt;- '@octokit/rest'@16.43.1
      &lt;- 'universal-user-agent'@4.0.1
        &lt;- 'os-name'@3.1.0
          &lt;- 'windows-release'@3.1.0

'universal-user-agent' package dropped its dependency on 'os-name' in
https://github.com/gr2m/universal-user-agent/releases/tag/v6.0.0 .

'@actions/github' v3 removed dependency on '@octokit/rest'@16.43.1 and
allows users to move away from the old 'universal-user-agent' v4.
(https://github.com/actions/toolkit/pull/453)

This pull request attempts to update the version of '@actions/github'
used in the checkout action to avoid importing 'windows-release'.

Based on testing in my own repositories, I can see an improvement in
reduced wait time between entering the checkout action and git actually
starts to do useful work.

* Update .licenses

* Rebuild index.js</pre>
</div>
</content>
</entry>
<entry>
<title>Inject GitHub host to be able to clone from another GitHub instance (#922)</title>
<updated>2022-09-26T16:34:52+00:00</updated>
<author>
<name>Peter Murray</name>
<email>681306+peter-murray@users.noreply.github.com</email>
</author>
<published>2022-09-26T16:34:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dieschoenewolke.de/janschoenfeld/checkout.git/commit/?id=e33cfa574212e8722034156757f8383979e76cb9'/>
<id>e33cfa574212e8722034156757f8383979e76cb9</id>
<content type='text'>
* Adding the ability to specify the GitHub Server URL and allowing for it to differ from the Actions workflow host

* Adding tests for injecting the GitHub URL

* Addressing code review comments for PR #922</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Adding the ability to specify the GitHub Server URL and allowing for it to differ from the Actions workflow host

* Adding tests for injecting the GitHub URL

* Addressing code review comments for PR #922</pre>
</div>
</content>
</entry>
</feed>
