Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: actions/checkout
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.0.1
Choose a base ref
...
head repository: actions/checkout
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.0.2
Choose a head ref
  • 2 commits
  • 8 files changed
  • 5 contributors

Commits on Jan 8, 2026

  1. Add orchestration_id to git user-agent when ACTIONS_ORCHESTRATION_ID …

    …is set (#2355)
    
    * Initial plan
    
    * Add orchestration ID support to git user-agent
    
    Co-authored-by: TingluoHuang <1750815+TingluoHuang@users.noreply.github.com>
    
    * Apply suggestion from @Copilot
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    
    * Improve tests to verify user-agent content and handle empty sanitized IDs
    
    Co-authored-by: TingluoHuang <1750815+TingluoHuang@users.noreply.github.com>
    
    * Simplify orchestration ID validation to accept any non-empty sanitized value
    
    Co-authored-by: TingluoHuang <1750815+TingluoHuang@users.noreply.github.com>
    
    * Remove test for orchestration ID with only invalid characters
    
    Co-authored-by: TingluoHuang <1750815+TingluoHuang@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
    Co-authored-by: TingluoHuang <1750815+TingluoHuang@users.noreply.github.com>
    Co-authored-by: Tingluo Huang <tingluohuang@github.com>
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    4 people authored Jan 8, 2026
    1 Configuration menu
    Copy the full SHA
    064fe7f View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2026

  1. 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
    ericsciple authored Jan 9, 2026
    Configuration menu
    Copy the full SHA
    de0fac2 View commit details
    Browse the repository at this point in the history
Loading