Skip to content

AB#34003 change SHA_SHORT to fixed length of 7 chars - #2865

Merged
DarylTodosichuk merged 1 commit into
devfrom
bugfix/AB#34003-Cypress-E2E-Branch-SHA
Aug 21, 2026
Merged

AB#34003 change SHA_SHORT to fixed length of 7 chars#2865
DarylTodosichuk merged 1 commit into
devfrom
bugfix/AB#34003-Cypress-E2E-Branch-SHA

Conversation

@DarylTodosichuk

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates the GitHub Actions Docker build workflows to generate a consistently fixed-length (7 character) short SHA value, likely for use in image tags / build metadata.

Changes:

  • Replace git rev-parse --short HEAD with SHA_SHORT=${GITHUB_SHA::7} in multiple branch workflows.
  • Standardize the short SHA generation across dev, dev2, test, and main Docker build pipelines.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/docker-build-test.yml Use fixed 7-char short SHA derived from GITHUB_SHA.
.github/workflows/docker-build-main.yml Use fixed 7-char short SHA derived from GITHUB_SHA.
.github/workflows/docker-build-dev2.yml Use fixed 7-char short SHA derived from GITHUB_SHA for downstream build env vars.
.github/workflows/docker-build-dev.yml Use fixed 7-char short SHA derived from GITHUB_SHA.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

id: get_commit
run: |
echo "SHA_SHORT=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
echo "SHA_SHORT=${GITHUB_SHA::7}" >> $GITHUB_OUTPUT
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 1010
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

@DarylTodosichuk
DarylTodosichuk merged commit fa0718f into dev Aug 21, 2026
26 checks passed
@DarylTodosichuk
DarylTodosichuk deleted the bugfix/AB#34003-Cypress-E2E-Branch-SHA branch August 21, 2026 23:06
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.

2 participants