Skip to content

Fix git rev-parse error in GitHub Actions workflow#40

Merged
maxcanna merged 1 commit intomasterfrom
fix-github-actions-revision-18417613331971049033
Mar 16, 2026
Merged

Fix git rev-parse error in GitHub Actions workflow#40
maxcanna merged 1 commit intomasterfrom
fix-github-actions-revision-18417613331971049033

Conversation

@maxcanna
Copy link
Owner

@maxcanna maxcanna commented Mar 16, 2026

Fixes an issue where git rev-parse HEAD fails in the GitHub Actions workflow. Replaced it with ${{ github.sha }} and passed it directly to Docker build arguments, removing the intermediate REVISION environment variable.

Replaced `git rev-parse HEAD` with the built-in GitHub Actions variable `${{ github.sha }}` directly in the Docker build arguments, and removed the intermediate `REVISION` environment variable assignment. This fixes the 'fatal: not a git repository' error that occurred due to shallow cloning.
Repository owner deleted a comment from google-labs-jules bot Mar 16, 2026
@maxcanna maxcanna merged commit bf17bf2 into master Mar 16, 2026
8 checks passed
@maxcanna maxcanna deleted the fix-github-actions-revision-18417613331971049033 branch March 16, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant