ci(build): add action-mode release + current commit SHA to step summary#21450
ci(build): add action-mode release + current commit SHA to step summary#21450
Conversation
…urrent git SHA Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot don't change |
…date Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done in 0bc900b — |
There was a problem hiding this comment.
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
SHAfrom${{ 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.
| 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 |
The
buildjob's step summary provided no guidance on recompiling workflows with the built binary using the correct flags.Changes
SHAvariable from${{ github.sha }}and a new "Recompile workflows with this build" section showing the compile command pinned to the current commit:The
Rebuild lock filesstep continues to usemake recompileunchanged.Original prompt
🔒 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.