Skip to content

Fix initial commit detection#19

Merged
NathanielJS1541 merged 1 commit intomainfrom
fix/initial_commit_detection
Nov 13, 2025
Merged

Fix initial commit detection#19
NathanielJS1541 merged 1 commit intomainfrom
fix/initial_commit_detection

Conversation

@NathanielJS1541
Copy link
Owner

This PR updates the build-release.yml workflow to fetch the full repo history when checking for the initial commit, to hopefully fix the commit count detection.

This commit updates the `build-release.yml` workflow to fetch the full
repo history when checking for the initial commit, to hopefully fix the
commit count detection.

Fixes #18.
@NathanielJS1541 NathanielJS1541 self-assigned this Nov 13, 2025
Copilot AI review requested due to automatic review settings November 13, 2025 17:01
@NathanielJS1541 NathanielJS1541 added 🐛 bug Something isn't working 🎬 action Changes to the GitHub Actions labels Nov 13, 2025
@github-actions
Copy link

Triggered from #19 by @​NathanielJS1541.

Checking if we can fast forward main (06e5ebd) to fix/initial_commit_detection (09fb209).

Target branch (main):

commit 06e5ebdf74c4ce414c57a31371dc178f4d2964cc (HEAD -> main, origin/main)
Author: Nathaniel Struselis <[email protected]>
Date:   Thu Nov 13 16:09:50 2025 +0000

    chore(release): bump example document version
    
    This commit bumps the document revision from `v0.1.1` to `v0.1.2`. I've
    decided to just edit the existing version, since nothing in the document
    has actually changed, and the entry is for example only.

Pull request (fix/initial_commit_detection):

commit 09fb209f13377034efbb5d663d342bc1cb8217e4 (pull_request/fix/initial_commit_detection)
Author: Nathaniel Struselis <[email protected]>
Date:   Thu Nov 13 16:54:41 2025 +0000

    ci: fix initial commit detection #18
    
    This commit updates the `build-release.yml` workflow to fetch the full
    repo history when checking for the initial commit, to hopefully fix the
    commit count detection.
    
    Fixes #18.

It is possible to fast forward main (06e5ebd) to fix/initial_commit_detection (09fb209). If you have write access to the target repository, you can add a comment with /fast-forward to fast forward main to fix/initial_commit_detection.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes an issue with initial commit detection in the GitHub Actions workflow by ensuring the full repository history is available for accurate commit count calculations.

Key Changes:

  • Added fetch-depth: 0 parameter to the checkout action to fetch complete git history instead of just the latest commit

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

Document Preview

Download PDF Preview

[0.1.2] - 2025-11-13

🛠️ CI/CD

@NathanielJS1541
Copy link
Owner Author

/fast-forward

@NathanielJS1541 NathanielJS1541 merged commit 09fb209 into main Nov 13, 2025
7 checks passed
@NathanielJS1541 NathanielJS1541 deleted the fix/initial_commit_detection branch November 13, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🎬 action Changes to the GitHub Actions 🐛 bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants