Skip to content

ci(build): add action-mode release + current commit SHA to step summary - #21450

Merged
pelikhan merged 3 commits into
mainfrom
copilot/update-ci-yml-build-job-commands
Mar 17, 2026
Merged

ci(build): add action-mode release + current commit SHA to step summary#21450
pelikhan merged 3 commits into
mainfrom
copilot/update-ci-yml-build-job-commands

Conversation

CopilotAI commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

The build job's step summary provided no guidance on recompiling workflows with the built binary using the correct flags.

Changes

  • Step summary: added a SHA variable from ${{ github.sha }} and a new "Recompile workflows with this build" section showing the compile command pinned to the current commit:
    ./gh-aw compile --action-mode release --action-tag <SHA>

The Rebuild lock files step continues to use make recompile unchanged.

Original prompt

Update the step summary commands created in ci.yml build job to use the action-mode release and action-tag long sha of the current git commit


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

…urrent git SHA
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
CopilotAI changed the title [WIP] Update step summary commands in ci.yml build jobci(build): use action-mode release + current commit SHA for lock file recompilationMar 17, 2026
CopilotAI requested a review from pelikhanMarch 17, 2026 21:48
@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot don't change make recompile instead update the step summary instructions to use --action-mode release --action-tag ${{ github.sha }}

…date
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

CopilotAI commented Mar 17, 2026

Copy link
Copy Markdown
ContributorAuthor

@copilot don't change make recompile instead update the step summary instructions to use --action-mode release --action-tag ${{ github.sha }}

Done in 0bc900bmake recompile is restored; the step summary now includes a "Recompile workflows with this build" section showing ./gh-aw compile --action-mode release --action-tag ${SHA}.

CopilotAI changed the title ci(build): use action-mode release + current commit SHA for lock file recompilationci(build): add action-mode release + current commit SHA to step summaryMar 17, 2026
@pelikhan
pelikhan marked this pull request as ready for review March 17, 2026 22:01
CopilotAI review requested due to automatic review settings March 17, 2026 22:01
@pelikhan
pelikhan merged commit 30b2873 into mainMar 17, 2026
@pelikhan
pelikhan deleted the copilot/update-ci-yml-build-job-commands branch March 17, 2026 22:01

CopilotAI 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

Updates the CI build job’s step summary to include a copy/paste-friendly workflow recompilation command pinned to the current commit SHA, using --action-mode release.

Changes:

  • Add SHA from ${{ github.sha }} in the build job summary step.
  • Extend the build job step summary with a “Recompile workflows with this build” section showing ./gh-aw compile --action-mode release --action-tag <SHA>.

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

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +586 to +590
echo "" >> $GITHUB_STEP_SUMMARY
echo "### Recompile workflows with this build" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`bash" >> $GITHUB_STEP_SUMMARY
echo "./gh-aw compile --action-mode release --action-tag ${SHA}" >> $GITHUB_STEP_SUMMARY
echo "\`\`\`" >> $GITHUB_STEP_SUMMARY
Sign up for freeto 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.

3 participants

@pelikhan